13 releases
0.9.0 | Feb 8, 2020 |
---|---|
0.8.0 | Dec 24, 2018 |
0.7.0 | Dec 6, 2018 |
0.5.4 | Jan 11, 2018 |
0.3.2 | Mar 8, 2016 |
#11 in #licensing
153 downloads per month
470KB
2K
SLoC
cargo-lichking
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.
Rust Version Policy
This crate only supports the current stable version of Rust, patch releases may use new features at any time.
Installation
To install simply run cargo install cargo-lichking
.
Usage
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
.
Developing
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
.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
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.
Dependencies
~5–14MB
~175K SLoC