build(notices): third-party licence notices, generated and checked
Every licence the program's dependencies and bundled fonts carry (MIT, Apache-2.0, BSD, ISC, Zlib, the SIL Open Font License) asks that its copyright notice and licence text travel with each copy of the binary, and until now nothing shipped them. `just notices` (scripts/notices.sh) writes THIRD-PARTY-NOTICES.txt: cargo-about names every crate the `wanderbooks` binary links, from ledger-cli's manifest across every feature and platform the program ships on, with the licence text; the script then adds the embedded fonts and their licence files. `just notices-check`, in the lint part of `just check`, regenerates the file and fails when a dependency or font changed without it, so the committed copy cannot drift. cargo-about is a build tool used to generate and check the file; it is not a dependency of the program (no Cargo.toml or Cargo.lock changes). Its accepted list is deny.toml's allow list word for word. Co-Authored-By: DeepSeek V4.1 Flash
This commit is contained in:
1 parent
1726c8b6dd
commit
7f87ccd3d3
6 files changed
+12524
No files matched your search
@@ -0,0 +1,25 @@
|
||||
{{! Plain-text notices for the third-party crates the program links
|
||||
(`just notices`). The `text` field is licence text, not HTML: triple
|
||||
braces keep it as it is. }}
|
||||
THIRD-PARTY NOTICES
|
||||
|
||||
wanderbooks is licensed under MIT OR Apache-2.0. It is built with the
|
||||
third-party Rust crates named below, each under the licence named in its
|
||||
section, and each licence's text follows. The fonts the program embeds are
|
||||
listed at the end of this file, under FONTS, each with its licence. A
|
||||
build-time or development-only dependency is not part of the program as
|
||||
shipped and is not listed here.
|
||||
|
||||
{{#each licenses}}
|
||||
================================================================================
|
||||
{{{name}}}
|
||||
================================================================================
|
||||
|
||||
Used by:
|
||||
{{#each used_by}}
|
||||
{{crate.name}} {{crate.version}}
|
||||
{{/each}}
|
||||
|
||||
{{{text}}}
|
||||
|
||||
{{/each}}
|
||||
Reference in new issue
Block a user