MIT, BSD and ISC ask that the copyright notice itself travel with a copy,
not only the licence's words. For 70 of the crates the program links,
cargo-about could give only the licence's standard text, whose copyright
line is a placeholder ("Copyright (c) <year> <copyright holders>"):
the crate's own licence file is a compound one it cannot match (chrono
and libm put two licences in one file, aws-lc's is 316 lines of several,
the windows crates indent theirs), or the crate was packaged with no
licence file at all (egui, objc2, wasmi and 32 more).
scripts/notices-packaged.py reads cargo-about's output, finds every
section with such a placeholder, and adds a part to the file: the licence
files those crates were packaged with, whole, each distinct text once
under the crates that carry it, and for the 35 packaged with none the
repository their manifest names. It reads the crates where cargo has them
(cargo metadata, locked and offline), so the text still depends on
Cargo.lock alone; two runs are byte-identical. The file grows from 551 KB
to 707 KB. The test for `wanderbooks licenses` now asks for a copyright
line that only a compound file holds.
Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
1.0 KiB
Handlebars
28 lines
1.0 KiB
Handlebars
{{! 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. Where a section's text has a
|
|
placeholder for its copyright line, the crates' own licence files are
|
|
given after the last section, under LICENCE FILES AS PACKAGED. 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}}
|