ci: Ban some serde_json features

This commit is contained in:
Jonas Platte 2023-06-26 17:40:21 +02:00 committed by Jonas Platte
parent 213a8290e6
commit be611fc258

View file

@ -38,6 +38,17 @@ license-files = [
multiple-versions = "warn"
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]
unknown-registry = "deny"
unknown-git = "deny"