Repositories

cargo-lichking

(mirrored on github)

Modified Cargo.toml

@@ -1,6 +1,6 @@
[package]
name = "cargo-lichking"
version = "0.1.0"
version = "0.2.0"
authors = ["Wim Looman <[email protected]>"]
description = "Display info about licensing of dependencies"

Modified README.md

@@ -1,11 +1,13 @@
# cargo-lichking
## automated LIcense CHecKING for rust
# cargo-lichking <small>automated LIcense CHecKING for rust</small>
`cargo lichking` is a [Cargo][] subcommand that checks licensing
information for dependencies
`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.
It will eventually have compatibility checking based off this [License
Slide][] by David A. Wheeler.
To get a list of all your (transitive) dependencies licenses just run `cargo
lichking`. To check license compatibility based off this [License Slide][] by
David A. Wheeler run `cargo lichking --check`.
[Cargo]: https://github.com/rust-lang/cargo
[License Slide]: http://www.dwheeler.com/essays/floss-license-slide.html

Modified src/main.rs

@@ -21,8 +21,8 @@ use licensed::Licensed;
const USAGE: &'static str = "
Display info about licensing of dependencies
Usage: cargo-lichking [options]
cargo-lichking --help
Usage: cargo lichking [options]
cargo lichking --help
Options:
-h, --help Print this message
@@ -57,6 +57,8 @@ fn real_main(flags: Flags, config: &Config) -> CliResult<Option<()>> {
return Ok(None);
}
println!("IANAL: This is not legal advice and is not guaranteed to be correct.");
try!(config.shell().set_verbosity(flag_verbose, flag_quiet));
let mut source = try!(source(config));