Automated license checking for rust.
cargo lichking is a Cargo subcommand that checks licensing information for dependencies.
Liches are not lawyers, the information output from this tool is provided as a hint to where you may need to look for licensing issues but in no way represents legal advice or guarantees correctness. The tool relies at a minimum on package metadata containing correct licensing information, this is not guaranteed so for real license checking it's necessary to verify all dependencies manually.
This crate only supports the current stable version of Rust, patch releases may use new features at any time.
To install simply run
cargo install cargo-lichking.
To get a list of all your (transitive) dependencies licenses run
cargo lichking list. To check license compatibility based off this License Slide by David A. Wheeler run
cargo lichking check.
When running via
cargo run you'll need to provide an initial
lichking argument to simulate running as a cargo subcommand, e.g.
cargo run -- lichking check.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.