# cargo-deny license gate for the desktop shell. # # cargo deny --manifest-path app/src-tauri/Cargo.toml check licenses # # Same policy as scripts/check-licenses.mjs for the npm packages: the allow # list below must match ALLOWED_LICENSES there (that script fails when they # differ). Crates that need anything else get a named entry in `exceptions` # with the reason in a comment. [graph] # The v1 desktop platforms (docs/oss/adr/README.md). targets = [ "x86_64-pc-windows-msvc", "aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", ] [licenses] allow = [ "0BSD", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "BlueOak-1.0.0", "CC0-1.0", "ISC", "MIT", "MPL-2.0", "Python-2.0", "Unicode-3.0", "Unlicense", "Zlib", ] confidence-threshold = 0.93 # The allow list is shared with the npm check, so not every entry is used here. unused-allowed-license = "allow" exceptions = []