chore: workspace lints now part of each crate. (#728)
This commit is contained in:
@@ -18,14 +18,6 @@ members = [
|
||||
]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.lints]
|
||||
rust.unexpected_cfgs = { level = "warn", check-cfg = [
|
||||
'cfg(feature, values("dim2", "dim3", "f32", "f64"))',
|
||||
# The `other-backends` feature isn't in the tested3d-f64
|
||||
# but easier to just ignore it here.
|
||||
'cfg(feature, values("other-backends"))',
|
||||
] }
|
||||
|
||||
[patch.crates-io]
|
||||
#wrapped2d = { git = "https://github.com/Bastacyclop/rust_box2d.git" }
|
||||
#xurdf = { path = "../xurdf/xurdf" }
|
||||
|
||||
@@ -22,7 +22,9 @@ edition = "2021"
|
||||
maintenance = { status = "actively-developed" }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
rust.unexpected_cfgs = { level = "warn", check-cfg = [
|
||||
'cfg(feature, values("dim3", "f32"))',
|
||||
] }
|
||||
|
||||
[features]
|
||||
default = ["dim2", "f64"]
|
||||
|
||||
@@ -22,7 +22,9 @@ edition = "2021"
|
||||
maintenance = { status = "actively-developed" }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
rust.unexpected_cfgs = { level = "warn", check-cfg = [
|
||||
'cfg(feature, values("dim3", "f64"))',
|
||||
] }
|
||||
|
||||
[features]
|
||||
default = ["dim2", "f32"]
|
||||
|
||||
@@ -22,7 +22,9 @@ edition = "2021"
|
||||
maintenance = { status = "actively-developed" }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
rust.unexpected_cfgs = { level = "warn", check-cfg = [
|
||||
'cfg(feature, values("dim2", "f32"))',
|
||||
] }
|
||||
|
||||
[features]
|
||||
default = ["dim3", "f64"]
|
||||
|
||||
@@ -22,7 +22,9 @@ edition = "2021"
|
||||
maintenance = { status = "actively-developed" }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
rust.unexpected_cfgs = { level = "warn", check-cfg = [
|
||||
'cfg(feature, values("dim2", "f64"))',
|
||||
] }
|
||||
|
||||
[features]
|
||||
default = ["dim3", "f32"]
|
||||
|
||||
@@ -25,7 +25,9 @@ path = "../../src_testbed/lib.rs"
|
||||
required-features = ["dim2"]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
rust.unexpected_cfgs = { level = "warn", check-cfg = [
|
||||
'cfg(feature, values("dim3", "f32"))',
|
||||
] }
|
||||
|
||||
[features]
|
||||
default = ["dim2"]
|
||||
|
||||
@@ -25,7 +25,9 @@ path = "../../src_testbed/lib.rs"
|
||||
required-features = ["dim2"]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
rust.unexpected_cfgs = { level = "warn", check-cfg = [
|
||||
'cfg(feature, values("dim3", "f64"))',
|
||||
] }
|
||||
|
||||
[features]
|
||||
default = ["dim2"]
|
||||
|
||||
@@ -25,7 +25,12 @@ path = "../../src_testbed/lib.rs"
|
||||
required-features = ["dim3"]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
rust.unexpected_cfgs = { level = "warn", check-cfg = [
|
||||
'cfg(feature, values("dim2", "f32"))',
|
||||
# The `other-backends` feature isn't in the tested3d-f64
|
||||
# but easier to just ignore it here.
|
||||
'cfg(feature, values("other-backends"))',
|
||||
] }
|
||||
|
||||
[features]
|
||||
default = ["dim3"]
|
||||
|
||||
@@ -25,7 +25,9 @@ path = "../../src_testbed/lib.rs"
|
||||
required-features = ["dim3"]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
rust.unexpected_cfgs = { level = "warn", check-cfg = [
|
||||
'cfg(feature, values("dim2", "f64"))',
|
||||
] }
|
||||
|
||||
[features]
|
||||
default = ["dim3"]
|
||||
|
||||
Reference in New Issue
Block a user