Skip to content

Commit 49d92e5

Browse files
committed
chore: add tokio_unstable to known cfgs to avoid linter warns
1 parent ced94fa commit 49d92e5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lambda-runtime/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ categories = ["web-programming::http-server"]
1414
keywords = ["AWS", "Lambda", "API"]
1515
readme = "../README.md"
1616

17+
[lints.rust]
18+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] }
19+
1720
[features]
1821
default = ["tracing"]
1922
tracing = ["lambda_runtime_api_client/tracing"] # enables access to the Tracing utilities

0 commit comments

Comments
 (0)