mirror of
https://github.com/storytold/AniCraft.git
synced 2026-11-23 11:02:29 +01:00
* feat(updates): add manual release checks and verified native updates (M8) * chore: bump version to 0.2.1 (M8) * fix(flatpak): honor the launcher version choices (M8) * fix(updates): preserve pending edits and report restart outcomes (M8) * test(updates): verify startup consumes helper failures once (M8)
58 lines
1.8 KiB
TOML
58 lines
1.8 KiB
TOML
# cargo-deny policy: every dependency must be permissively licensed, come from crates.io and
|
|
# carry no copyleft obligation on AniCraft. Run: cargo deny check licenses bans sources
|
|
# (and `cargo deny check advisories` when online). See docs/legal/compliance.md.
|
|
|
|
[graph]
|
|
# Check every platform we ship (Windows, macOS, Linux, wasm), not just the host.
|
|
all-features = false
|
|
|
|
[licenses]
|
|
# Permissive licenses only. Where a crate offers a choice ("MIT OR GPL"), cargo-deny picks the
|
|
# permissive one; nothing in our tree is accepted under a copyleft term.
|
|
allow = [
|
|
"MIT",
|
|
"Apache-2.0",
|
|
"Apache-2.0 WITH LLVM-exception",
|
|
"BSD-2-Clause",
|
|
"BSD-3-Clause",
|
|
"ISC",
|
|
"Zlib",
|
|
"0BSD",
|
|
"BSL-1.0",
|
|
"Unicode-3.0",
|
|
"Unlicense",
|
|
]
|
|
confidence-threshold = 0.93
|
|
|
|
# Font licenses are allowed only for the crate that embeds egui's default UI fonts.
|
|
[[licenses.exceptions]]
|
|
crate = "epaint_default_fonts"
|
|
allow = ["OFL-1.1", "Ubuntu-font-1.0"]
|
|
|
|
# Approved for the Mozilla certificate data pulled in by the shared HTTPS updater.
|
|
# The exception applies to this data crate and version, not application code.
|
|
[[licenses.exceptions]]
|
|
crate = "webpki-root-certs@=1.0.12"
|
|
allow = ["CDLA-Permissive-2.0"]
|
|
|
|
[licenses.private]
|
|
# Our own workspace crates are MIT OR Apache-2.0 (checked by `cargo deny` like any other crate).
|
|
ignore = false
|
|
|
|
[bans]
|
|
multiple-versions = "allow"
|
|
# Path dependencies inside the workspace have no version; that is fine for unpublished crates.
|
|
wildcards = "deny"
|
|
allow-wildcard-paths = true
|
|
|
|
[sources]
|
|
unknown-registry = "deny"
|
|
unknown-git = "deny"
|
|
# Shared updater implementation, pinned to a reviewed commit in Cargo.toml.
|
|
allow-git = ["https://github.com/storytold/craft-libs"]
|
|
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
|
|
|
[advisories]
|
|
# Fetched from the RustSec database when online.
|
|
yanked = "warn"
|