targets = [ { triple = "x86_64-unknown-linux-musl" }, { triple = "x86_64-unknown-linux-gnu" }, { triple = "x86_64-apple-darwin" }, { triple = "aarch64-apple-darwin" }, ] [advisories] vulnerability = "deny" unmaintained = "deny" yanked = "deny" ignore = [] [licenses] unlicensed = "deny" allow = ["MIT", "Apache-2.0", "BSD-3-Clause", "ISC"] copyleft = "deny" exceptions = [ { allow = ["MPL-2.0"], name = "webpki-roots" }, # ring uses code from multiple libraries but all with permissive licenses # https://tldrlegal.com/license/openssl-license-(openssl) { allow = ["ISC", "MIT", "OpenSSL"], name = "ring" }, { allow = ["Unicode-DFS-2016"], name = "unicode-ident" }, ] [[licenses.clarify]] name = "ring" # SPDX considers OpenSSL to encompass both the OpenSSL and SSLeay licenses # https://spdx.org/licenses/OpenSSL.html # ISC - Both BoringSSL and ring use this for their new files # MIT - "Files in third_party/ have their own licenses, as described therein. The MIT # license, for third_party/fiat, which, unlike other third_party directories, is # compiled into non-test libraries, is included below." # OpenSSL - Obviously expression = "ISC AND MIT AND OpenSSL" license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }] [bans] multiple-versions = "deny" deny = [] skip = [ # tracing-subscriber depends on 2 different versions :( { name = "regex-syntax", version = "=0.6.29" }, # ditto :( { name = "regex-automata", version = "=0.1.10" }, # ureq { name = "rustls-webpki", version = "=0.100.2" }, ] skip-tree = [ # clap -> terminal_size { name = "rustix", version = "=0.37.23" }, ] [sources] unknown-registry = "deny" # Lint level for what to happen when a crate from a git repository that is not # in the allow list is encountered unknown-git = "deny" allow-git = []