Skip to content

Commit

Permalink
style:
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Jan 4, 2025
1 parent 213291d commit 2690648
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 2 deletions.
3 changes: 3 additions & 0 deletions alloc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ buddy = ["hal-core", "mycelium-util", "tracing"]
tracing = { git = "https://github.com/tokio-rs/tracing", default_features = false, optional = true }
mycelium-util = { path = "../util", optional = true }
hal-core = { path = "../hal-core", optional = true }

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)']}
3 changes: 3 additions & 0 deletions bitfield/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ proptest = "1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)', 'cfg(trace_macros)'] }
5 changes: 4 additions & 1 deletion cordyceps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ tracing = { version = "0.1" }

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)']}
3 changes: 3 additions & 0 deletions maitake-sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,6 @@ loom = { version = "0.7", features = ["futures", "checkpoint"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)', 'cfg(maitake_ultraverbose)'] }
3 changes: 3 additions & 0 deletions maitake/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,6 @@ rustdoc-args = ["--cfg", "docsrs"]
[[example]]
name = "tokio-console"
required-features = ["tracing-01"]

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)', 'cfg(maitake_ultraverbose)'] }
5 changes: 4 additions & 1 deletion pci/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,7 @@ features = ["attributes", "alloc"]
git = "https://github.com/tokio-rs/tracing"

[dev-dependencies]
proptest = "1"
proptest = "1"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)']}
3 changes: 3 additions & 0 deletions util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ tracing-subscriber_03 = { package = "tracing-subscriber", version = "0.3.15", fe
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)']}

0 comments on commit 2690648

Please sign in to comment.