onur / cargo-license

Cargo subcommand to see license of dependencies
MIT License
418 stars 37 forks source link

Enable filtering by platform #43

Closed steven-joruk closed 3 years ago

steven-joruk commented 3 years ago

Closes #42

Before

./../forks/cargo-license/target/debug/cargo-license --avoid-build-deps --avoid-dev-deps
Apache-2.0 (1): ...
Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT (1): ...
Apache-2.0 OR MIT (38): ...
Apache-2.0 OR MIT OR Zlib (2): ...
MIT (8): ...

After

../../forks/cargo-license/target/debug/cargo-license --filter-platform x86_64-apple-darwin --avoid-build-deps --avoid-dev-deps
Apache-2.0 (1): ...
Apache-2.0 OR MIT (34): ...
Apache-2.0 OR MIT OR Zlib (2): ...
MIT (8): ...
dalance commented 3 years ago

LGTM Thanks!