Skip to content

Commit 209ed8e

Browse files
committed
chore: Add cargo-udeps ignores
1 parent 0d6f5ae commit 209ed8e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

crates/stackable-versioned-macros/Cargo.toml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,16 @@ repository.workspace = true
1010
[package.metadata."docs.rs"]
1111
all-features = true
1212

13-
# cargo-udeps throws an error that these dependencies are unused. They are,
14-
# however, used in K8s specific test cases. This is a false-positive and an
13+
[package.metadata.cargo-udeps.ignore]
14+
# cargo-udeps throws an error stating that these dependencies are unused. They
15+
# are, however, used in K8s specific test cases. This is a false-positive and an
1516
# apparent limitation of cargo-udeps. These entries can be removed once
1617
# cargo-udeps supports detecting usage of such dependencies.
17-
[package.metadata.cargo-udeps.ignore]
18-
development = ["schemars", "serde_yaml"]
18+
development = ["schemars", "serde_yaml", "stackable-versioned"]
19+
20+
# cargo-udeps throws an error stating that these dependencies are unused. They are all marked as
21+
# optional, which trips up cargo-udeps for whatever reason...
22+
normal = ["k8s-openapi", "kube", "stackable-shared"]
1923

2024
[lib]
2125
proc-macro = true

0 commit comments

Comments
 (0)