Proposal: Standardise license details for crates
I was taking a look how some projects such as ClearLinux use https://spdx.dev to collect details of all constituent FOSS copyrights and licenses in its packaged output.
Seems like an excellent fit and useful automatic 'standard' way to manage crates and packages in rust. Both machine and human readable.
Edit: I am relatively new to rust and still learning the language rather than the ecosystem, so hadnt appreciated that some of the spdx work is already in place.
https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields
There is a lot more information suggested on the spdx site to describe packages rather than just the license identifier(s). e.g. optional inclusion of RDF or other package descriptions
Licensing is never sexy, but necessary.
Checking compliance when mixing licenses, assessing impact when mixing licenses etc is a whole different can of worms I'm not suggesting gets addressed. Just the facts of what are present.
Other sites offer more tools that assess licensing etc but IANAL so try just to look at the facts.
Posted Jan 1, 2021, 10:33 AM UTC · edited