| [bans] |
| multiple-versions = "deny" |
| wildcards = "deny" |
| allow-wildcard-paths = true |
| highlight = "simplest-path" |
| workspace-default-features = "warn" |
| external-default-features = "deny" |
| allow = [ |
| { name = "all-versionsa" }, |
| "version-rangea:<0.1.1", |
| "[email protected]", |
| "any-version", |
| ] |
| deny = [ |
| "[email protected]", |
| { name = "all-versionsd", wrappers = [ |
| "specific-versiona", |
| ], reason = "we want to get rid of this crate but there is still one user of it" }, |
| ] |
| skip-tree = [{ name = "blah", depth = 20 }] |
| |
| [[bans.skip]] |
| name = "rand" |
| version = "=0.6.5" |
| |
| [[bans.features]] |
| name = "featured-krate" |
| version = "1.0" |
| deny = ["bad-feature"] |
| allow = ["good-feature"] |
| exact = true |
| reason = "`bad-feature` is bad" |
| |
| [bans.build] |
| allow-build-scripts = [{ name = "all-versionsa" }] |
| executables = "warn" |
| interpreted = "deny" |
| script-extensions = ["cs"] |
| enable-builtin-globs = true |
| include-dependencies = true |
| include-workspace = true |
| include-archives = true |
| |
| [[bans.build.bypass]] |
| name = "allversionsa" |
| build-script = "5392f0e58ad06e089462d93304dfe82337acbbefb87a0749a7dc2ed32af04af7" |
| required-features = ["feature-used-at-build-time"] |
| allow-globs = ["scripts/*.cs"] |
| allow = [ |
| { path = "bin/x86_64-linux", checksum = "5392f0e58ad06e089462d93304dfe82337acbbefb87a0749a7dc2ed32af04af7" }, |
| ] |