mirror of
https://github.com/fluxerapp/fluxer.git
synced 2026-11-20 01:01:18 -08:00
161 lines
9.7 KiB
TOML
161 lines
9.7 KiB
TOML
# cargo-deny configuration for the Fluxer workspace.
|
|
#
|
|
# Applies to the root workspace (Cargo.toml at the repo root).
|
|
|
|
[graph]
|
|
all-features = true
|
|
no-default-features = false
|
|
|
|
[output]
|
|
feature-depth = 1
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Advisories (RustSec advisory DB)
|
|
# ---------------------------------------------------------------------------
|
|
[advisories]
|
|
version = 2
|
|
yanked = "deny"
|
|
unmaintained = "all"
|
|
# Placeholder for future per-advisory ignores. Prefer fixing/upgrading the
|
|
# crate before adding an entry here. Each entry should be a string ID, e.g.
|
|
# "RUSTSEC-2024-0000", optionally as { id = "...", reason = "..." }.
|
|
ignore = [
|
|
{ id = "RUSTSEC-2026-0370", reason = "zvariant merged into zbus 6.0.0; the Linux desktop crates stay on zbus 5 until they move off its removed blocking API" },
|
|
{ id = "RUSTSEC-2026-0371", reason = "zbus_names merged into zbus 6.0.0; the Linux desktop crates stay on zbus 5 until they move off its removed blocking API" },
|
|
{ id = "RUSTSEC-2026-0372", reason = "zvariant_derive merged into zbus 6.0.0; the Linux desktop crates stay on zbus 5 until they move off its removed blocking API" },
|
|
{ id = "RUSTSEC-2026-0543", reason = "chrono is unmaintained, not vulnerable. No maintained release exists yet and moving the workspace to jiff is its own change" },
|
|
{ id = "RUSTSEC-2026-0441", reason = "pin-utils is unmaintained, not vulnerable. Only wasmtimer uses it, through reqwest-retry, and wasmtimer 0.4.3 is the newest release" },
|
|
]
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Licenses
|
|
# ---------------------------------------------------------------------------
|
|
# This repo is AGPL-3.0-or-later. Dependency licenses below are vetted to be
|
|
# compatible with AGPL distribution. If a crate is essential and ships under a
|
|
# license not listed here, add it explicitly (do NOT route around via
|
|
# [[licenses.exceptions]] or [[licenses.clarify]] without justification in the
|
|
# commit message).
|
|
[licenses]
|
|
version = 2
|
|
confidence-threshold = 0.93
|
|
allow = [
|
|
"MIT",
|
|
"MIT-0",
|
|
"Apache-2.0",
|
|
"Apache-2.0 WITH LLVM-exception",
|
|
"BSD-2-Clause",
|
|
"BSD-3-Clause",
|
|
"ISC",
|
|
"MPL-2.0",
|
|
"Unicode-3.0",
|
|
"Zlib",
|
|
"CC0-1.0",
|
|
"AGPL-3.0-or-later",
|
|
"BSL-1.0",
|
|
"CDLA-Permissive-2.0",
|
|
]
|
|
# Explicitly deny GPL-only / strong-copyleft licenses that don't compose with
|
|
# AGPL-3.0-or-later linking semantics in a library context.
|
|
exceptions = []
|
|
|
|
# ring uses a custom BSD-ish + OpenSSL license combo that cargo-deny can't
|
|
# auto-classify; clarify it as the ISC/OpenSSL/MIT triple it actually is.
|
|
[[licenses.clarify]]
|
|
crate = "ring"
|
|
expression = "ISC AND MIT AND OpenSSL"
|
|
license-files = [
|
|
{ path = "LICENSE", hash = 0xbd0eed23 },
|
|
]
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Bans
|
|
# ---------------------------------------------------------------------------
|
|
[bans]
|
|
multiple-versions = "warn"
|
|
wildcards = "deny"
|
|
# Internal workspace crates use path dependencies without registry versions.
|
|
# Registry wildcards remain denied.
|
|
allow-wildcard-paths = true
|
|
highlight = "all"
|
|
workspace-default-features = "allow"
|
|
external-default-features = "allow"
|
|
# Keep workspace artifacts away from the obsolete libfuse2 stack.
|
|
# AppImage packaging must use the static electron-builder runtime instead.
|
|
deny = [
|
|
{ crate = "fuse", reason = "libfuse2-based Rust wrapper; use a maintained FUSE3-native crate only if Fluxer ever needs FUSE directly" },
|
|
{ crate = "fuse-sys", reason = "libfuse2 FFI crate; Fluxer AppImages must not reintroduce libfuse2 through native Rust dependencies" },
|
|
]
|
|
skip = [
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older release line" },
|
|
{ crate = "[email protected]", reason = "hunspell-sys in the desktop spellchecker requires the prior bindgen" },
|
|
{ crate = "[email protected]", reason = "hunspell bindgen requires the legacy bitflags API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older digest API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older digest API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older crypto API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older digest API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older DER API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older digest API" },
|
|
{ crate = "[email protected]", reason = "postgres-protocol requires the prior iterator API while the desktop native crates use the current one" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older randomness API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the prior randomness API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older hashbrown API" },
|
|
{ crate = "[email protected]", reason = "udev requires the prior Hermit ABI" },
|
|
{ crate = "[email protected]", reason = "bindgen and criterion require the prior iterator API" },
|
|
{ crate = "[email protected]", reason = "bindgen requires the prior dynamic loading API" },
|
|
{ crate = "[email protected]", reason = "rustix 0.38 under the hunspell bindgen requires the prior Linux syscall bindings" },
|
|
{ crate = "[email protected]", reason = "dashmap and scylla require the prior lock API while the desktop native crates use the current one" },
|
|
{ crate = "[email protected]", reason = "evdev requires the prior Unix API" },
|
|
{ crate = "[email protected]", reason = "bindgen requires the prior parser API" },
|
|
{ crate = "[email protected]", reason = "the server crates use the prior parking_lot while the desktop native crates use the current one" },
|
|
{ crate = "[email protected]", reason = "dashmap and scylla require the prior parking_lot core" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older PEM API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older release line" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older release line" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older PKCS#8 API" },
|
|
{ crate = "[email protected]", reason = "bindgen 0.72 for libfido2 requires the prior pretty printer" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older WASI API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older randomness API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the prior randomness API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older randomness API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the prior randomness API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older randomness API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the prior randomness API" },
|
|
{ crate = "[email protected]", reason = "parking_lot_core 0.9 requires the prior Redox syscall bindings" },
|
|
{ crate = "[email protected]", reason = "hunspell bindgen requires the legacy hash API" },
|
|
{ crate = "[email protected]", reason = "which 4 under the hunspell bindgen requires the prior rustix" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older digest API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older digest API" },
|
|
{ crate = "[email protected]", reason = "bindgen requires the prior shell parsing API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older signature API" },
|
|
{ crate = "[email protected]", reason = "multer, which axum multipart uses in fluxer_admin, requires the older release line" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older SPKI API" },
|
|
{ crate = "[email protected]", reason = "hunspell bindgen requires the legacy macro API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older release line" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older release line" },
|
|
{ crate = "[email protected]+wasi-snapshot-preview1", reason = "transitive dependency requires the legacy WASI API" },
|
|
{ crate = "[email protected]", reason = "udev requires the legacy Windows API" },
|
|
{ crate = "[email protected]", reason = "transitive dependency requires the older Windows API" },
|
|
{ crate = "[email protected]", reason = "hunspell build tooling requires the prior Windows API" },
|
|
{ crate = "[email protected]", reason = "udev pulls windows-sys 0.48, which requires the prior Windows targets" },
|
|
{ crate = "[email protected]", reason = "windows-targets 0.48 for udev" },
|
|
{ crate = "[email protected]", reason = "windows-targets 0.48 for udev" },
|
|
{ crate = "[email protected]", reason = "windows-targets 0.48 for udev" },
|
|
{ crate = "[email protected]", reason = "windows-targets 0.48 for udev" },
|
|
{ crate = "[email protected]", reason = "windows-targets 0.48 for udev" },
|
|
{ crate = "[email protected]", reason = "windows-targets 0.48 for udev" },
|
|
{ crate = "[email protected]", reason = "windows-targets 0.48 for udev" },
|
|
]
|
|
skip-tree = []
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Sources
|
|
# ---------------------------------------------------------------------------
|
|
[sources]
|
|
unknown-registry = "deny"
|
|
unknown-git = "deny"
|
|
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
|
allow-git = []
|
|
|
|
[sources.allow-org]
|
|
github = []
|