ci: Ban some serde_json features
This commit is contained in:
parent
213a8290e6
commit
be611fc258
11
.deny.toml
11
.deny.toml
@ -38,6 +38,17 @@ license-files = [
|
|||||||
multiple-versions = "warn"
|
multiple-versions = "warn"
|
||||||
wildcards = "deny"
|
wildcards = "deny"
|
||||||
|
|
||||||
|
[[bans.features]]
|
||||||
|
name = "serde_json"
|
||||||
|
# These features all don't make sense to activate from a library as they apply
|
||||||
|
# globally to all users of serde_json. Make sure we don't enable them somehow.
|
||||||
|
deny = [
|
||||||
|
"arbitrary_precision",
|
||||||
|
"float_roundtrip",
|
||||||
|
"preserve_order",
|
||||||
|
"unbounded_depth",
|
||||||
|
]
|
||||||
|
|
||||||
[sources]
|
[sources]
|
||||||
unknown-registry = "deny"
|
unknown-registry = "deny"
|
||||||
unknown-git = "deny"
|
unknown-git = "deny"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user