Skip to content

Commit bc139b8

Browse files
d-e-s-odanielocfb
authored andcommitted
Move around some keys in deny.toml
cargo-deny moved some keys in deny.toml into different sections and deprecated the "old" locations. Adjust our configuration accordingly to get rid of the associated warnings. Signed-off-by: Daniel Müller <[email protected]>
1 parent 6628376 commit bc139b8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

deny.toml

+3-5
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
# The values provided in this template are the default values that will be used
1010
# when any section or field is not specified in your own configuration
1111

12-
# Root options
13-
12+
[graph]
1413
# If 1 or more target triples (and optionally, target_features) are specified,
1514
# only the specified targets will be checked when running `cargo deny check`.
1615
# This means, if a particular package is only ever used as a target specific
@@ -43,9 +42,8 @@ all-features = false
4342
# If true, metadata will be collected with `--no-default-features`. The same
4443
# caveat with `all-features` applies
4544
no-default-features = false
46-
# If set, these feature will be enabled when collecting metadata. If `--features`
47-
# is specified on the cmd line they will take precedence over this option.
48-
#features = []
45+
46+
[output]
4947
# When outputting inclusion graphs in diagnostics that include features, this
5048
# option can be used to specify the depth at which feature edges will be added.
5149
# This option is included since the graphs can be quite large and the addition

0 commit comments

Comments
 (0)