Skip to content

Commit

Permalink
add a lint field to the Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
mox692 committed Jul 25, 2024
1 parent ce2423d commit 5aaca4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ rand = "0.8.3"
[target.'cfg(windows)'.dev-dependencies.windows-sys]
version = "0.52"

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

[[example]]
name = "chat"
path = "chat.rs"
Expand Down

0 comments on commit 5aaca4b

Please sign in to comment.