mirror of
https://github.com/truespar/sentio.git
synced 2026-11-27 00:06:32 +00:00
The notices listed Sentio's own crates with their versions, so bumping to 0.1.2 staled the file and CI caught it. That is the check working, but it is a footgun: every version bump would break the build until someone regenerated. Marking the workspace publish = false and telling cargo-about to skip private crates removes them entirely, which is also what a third-party notices file should contain. The file no longer depends on our version.
39 lines
1.0 KiB
TOML
39 lines
1.0 KiB
TOML
# cargo-about: which licences may appear in a distributed build, and where to
|
|
# find their texts. This is the attribution side; deny.toml is the policy side.
|
|
#
|
|
# cargo about generate --fail about.hbs > THIRD-PARTY-NOTICES.md
|
|
#
|
|
# `targets` is deliberately narrow. Without it the crawl includes crates that
|
|
# only build for other platforms - r-efi is a UEFI-only dependency, and pulling
|
|
# it in would attribute code no Linux build ever links.
|
|
accepted = [
|
|
"Apache-2.0",
|
|
"MIT",
|
|
"MIT-0",
|
|
"BSD-1-Clause",
|
|
"BSD-2-Clause",
|
|
"BSD-3-Clause",
|
|
"0BSD",
|
|
"ISC",
|
|
"Zlib",
|
|
"BSL-1.0",
|
|
"CC0-1.0",
|
|
"Unlicense",
|
|
"MPL-2.0",
|
|
"Unicode-3.0",
|
|
"Unicode-DFS-2016",
|
|
"CDLA-Permissive-2.0",
|
|
"OpenSSL",
|
|
]
|
|
targets = [
|
|
"x86_64-unknown-linux-gnu",
|
|
"aarch64-unknown-linux-gnu",
|
|
]
|
|
# Sentio's own crates are first-party; they have no business in a
|
|
# third-party notices file, and leaving them in means every version bump
|
|
# silently stales it.
|
|
private = { ignore = true }
|
|
|
|
ignore-build-dependencies = true
|
|
ignore-dev-dependencies = true
|