mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
e6c17461a3
Provide and use a `workspace.lints` table. This makes it easier to maintain and to enforce one coding style. Let's explicitly disable the `missing_docs` linting rule for tests. MSRV for the lints table is 1.74 [1] [1] https://doc.rust-lang.org/cargo/reference/workspaces.html#the-lints-table Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Acked-by: Finn Callies <fcallies@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
28 lines
437 B
TOML
28 lines
437 B
TOML
[workspace]
|
|
members = [
|
|
"cpacfinfo",
|
|
"pv",
|
|
"pv_core",
|
|
"pvapconfig",
|
|
"pvattest",
|
|
"pvsecret",
|
|
"utils",
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
edition = "2021"
|
|
license = "MIT"
|
|
rust-version = "1.75.0"
|
|
|
|
[workspace.lints.rust]
|
|
missing_docs = "deny"
|
|
missing_debug_implementations = "warn"
|
|
trivial_numeric_casts = "warn"
|
|
unstable_features = "warn"
|
|
unused_import_braces = "warn"
|
|
unused_qualifications = "warn"
|
|
|
|
[profile.release]
|
|
lto = true
|