Skip to content

Commit 4a49f5b

Browse files
authored
Add config for cargo-about (#283)
1 parent 670fd25 commit 4a49f5b

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

about.toml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Configuration for cargo-about
2+
# See https://embarkstudios.github.io/cargo-about/index.html
3+
4+
# Don't check the licenses of our private workspace crates
5+
private = { ignore = true }
6+
7+
# Acceptable licenses.
8+
# Order matters here, `cargo-about` "will try to satisfy the licenses in the order that they are declared in this list."
9+
# as per https://embarkstudios.github.io/cargo-about/cli/generate/config.html#the-accepted-field
10+
#
11+
# This list must be manually reconciled with the `allow`s and/or `exception`s in `deny.toml`
12+
# If you change this list, please also change `deny.toml`
13+
# see https://github.com/EmbarkStudios/cargo-about/issues/201
14+
accepted = [
15+
"MIT",
16+
"Apache-2.0",
17+
"0BSD",
18+
"BSD-2-Clause",
19+
"BSD-3-Clause",
20+
"CC0-1.0",
21+
"ISC",
22+
"Zlib",
23+
"ICU",
24+
"Unicode-DFS-2016"
25+
]

deny.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Configuration for cargo-deny
2+
# See https://embarkstudios.github.io/cargo-deny/
3+
14

25
# This section is considered when running `cargo deny check advisories`
36
# More documentation for the advisories section can be found here:

0 commit comments

Comments
 (0)