-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdeny.toml
More file actions
77 lines (71 loc) · 2.54 KB
/
deny.toml
File metadata and controls
77 lines (71 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# cargo-deny configuration.
# Docs: https://embarkstudios.github.io/cargo-deny/checks/index.html
[graph]
# Target platforms that mlxcel actually ships binaries for.
# macOS Apple Silicon (Metal) + Linux aarch64 CUDA (gb10, gh200) are the
# release targets per `.github/workflows/release.yml`.
targets = [
"aarch64-apple-darwin",
"aarch64-unknown-linux-gnu",
]
all-features = false
no-default-features = false
# ============================================================================
# Advisories — RustSec vulnerability checking
# ============================================================================
[advisories]
db-path = "~/.cargo/advisory-db"
ignore = [
# `paste 1.0.15` — transitive via the `tokenizers` crate (HF). The author
# archived the project (RUSTSEC-2024-0436). `pastey` is a drop-in fork but
# adoption depends on upstream `tokenizers` switching. No runtime vulnerability
# — pure macro-expansion crate used at build time.
{ id = "RUSTSEC-2024-0436", reason = "Transitive via tokenizers; archived but no runtime impact; awaiting upstream switch to pastey" },
]
# ============================================================================
# Licenses — License compliance for OSS release
# ============================================================================
[licenses]
confidence-threshold = 0.8
# OSI-approved permissive licenses compatible with Apache-2.0 distribution.
allow = [
"Apache-2.0",
"MIT",
"MIT-0",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Zlib",
"MPL-2.0",
"Unicode-3.0",
"Unicode-DFS-2016",
"CC0-1.0",
"CDLA-Permissive-2.0",
"BSL-1.0",
"Unlicense",
"OpenSSL",
]
# Private/internal crates (mlxcel, mlxcel-core, mlxcel-surgery) without
# external registry presence — they're Apache-2.0 per their own Cargo.toml.
[licenses.private]
ignore = false
registries = []
# ============================================================================
# Bans — Crate banning and duplicate checking
# ============================================================================
[bans]
multiple-versions = "warn"
wildcards = "warn"
highlight = "all"
workspace-default-features = "allow"
deny = []
skip = []
skip-tree = []
# ============================================================================
# Sources — Registry and source provenance
# ============================================================================
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-git = []
allow-registry = ["https://github.com/rust-lang/crates.io-index"]