Skip to content

Commit

Permalink
feat(cargo): add linting rules for test and block-storage-snapshot fe…
Browse files Browse the repository at this point in the history
…atures

Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
  • Loading branch information
gierens committed Aug 2, 2024
1 parent f42fe8c commit 20aa8e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@ tokio = { version = "^1.21", features = ["macros"] }
[lib]
name = "openstack"
path = "src/lib.rs"

[lints.rust]
# TODO: remove block-storage-snapshot once the snapshot API is implemented
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(feature, values("block-storage-snapshot", "test"))'] }

0 comments on commit 20aa8e8

Please sign in to comment.