onur / cargo-license

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

how to filter the licenses used directly by dependencies #47

Closed avnerbarr closed 2 years ago

avnerbarr commented 3 years ago

The tool returns licenses from the dependencies dependency ...

Is it possible to get only the licenses of my direct dependencies listed in the cargo.toml ?

Thanks

mckaymatt commented 3 years ago

That's what the --no-deps flag is supposed to do. Does that work for you?

avnerbarr commented 3 years ago

I got the same output with --no-deps as before

example:

cargo-license -d --no-deps | sort -u | grep -v "N/A"
addr2line: 0.14.1, "Apache-2.0 OR MIT",
adler: 1.0.2, "0BSD OR Apache-2.0 OR MIT",
ahash: 0.4.7, "Apache-2.0 OR MIT",
aho-corasick: 0.6.10, "MIT OR Unlicense",
aho-corasick: 0.7.15, "MIT OR Unlicense",
ansi_term: 0.11.0, "MIT",
ansi_term: 0.12.1, "MIT",
anyhow: 1.0.41, "Apache-2.0 OR MIT",
app_dirs: 1.2.1, "MIT",
arc-swap: 0.4.8, "Apache-2.0 OR MIT",
arrayref: 0.3.6, "BSD-2-Clause",
arrayvec: 0.5.2, "Apache-2.0 OR MIT",
async-channel: 1.6.1, "Apache-2.0 OR MIT",
async-trait: 0.1.50, "Apache-2.0 OR MIT",
atomic-shim: 0.1.0, "Apache-2.0 OR MIT",
atomicwrites: 0.2.5, "MIT",
atty: 0.2.14, "MIT",
autocfg: 0.1.7, "Apache-2.0 OR MIT",
autocfg: 1.0.1, "Apache-2.0 OR MIT",
backtrace: 0.3.58, "Apache-2.0 OR MIT",
base-x: 0.2.8, "MIT",
base64: 0.10.1, "Apache-2.0 OR MIT",
base64: 0.13.0, "Apache-2.0 OR MIT",
base64: 0.9.3, "Apache-2.0 OR MIT",
battery: 0.7.8, "Apache-2.0 OR MIT",
bitflags: 1.2.1, "Apache-2.0 OR MIT",
bitmaps: 2.1.0, "MPL-2.0+",
blake2b_simd: 0.5.11, "MIT",
block-buffer: 0.3.3, "Apache-2.0 OR MIT",
block-buffer: 0.7.3, "Apache-2.0 OR MIT",
block-buffer: 0.9.0, "Apache-2.0 OR MIT",
block-padding: 0.1.5, "Apache-2.0 OR MIT",
bstr: 0.2.15, "Apache-2.0 OR MIT",
build_const: 0.2.2, "MIT",
bumpalo: 3.6.1, "Apache-2.0 OR MIT",
byte-tools: 0.2.0, "Apache-2.0 OR MIT",
byte-tools: 0.3.1, "Apache-2.0 OR MIT",
byteorder: 1.4.3, "MIT OR Unlicense",
bytes: 0.4.12, "MIT",
bytes: 0.5.6, "MIT",
bytes: 1.0.1, "MIT",
bzip2-sys: 0.1.10+1.0.8, "Apache-2.0 OR MIT",
bzip2: 0.3.3, "Apache-2.0 OR MIT",
cache-padded: 1.1.1, "Apache-2.0 OR MIT",
cc: 1.0.67, "Apache-2.0 OR MIT",
cfg-if: 0.1.10, "Apache-2.0 OR MIT",
cfg-if: 1.0.0, "Apache-2.0 OR MIT",
chrono: 0.4.19, "Apache-2.0 OR MIT",
ci_info: 0.3.1, "Apache-2.0",
clap: 2.33.3, "MIT",
clicolors-control: 1.0.1, "MIT",
clokwerk: 0.3.5, "Apache-2.0",
cloudabi: 0.0.3, "BSD-2-Clause",
colored: 1.9.3, "MPL-2.0",
concurrent-queue: 1.2.2, "Apache-2.0 OR MIT",
config: 0.10.1, "Apache-2.0 OR MIT",
console: 0.14.1, "MIT",
console: 0.7.7, "MIT",
const_fn: 0.4.7, "Apache-2.0 OR MIT",
constant_time_eq: 0.1.5, "CC0-1.0",
cookie: 0.12.0, "Apache-2.0 OR MIT",
cookie_store: 0.7.0, "Apache-2.0 OR MIT",
core-foundation-sys: 0.7.0, "Apache-2.0 OR MIT",
core-foundation-sys: 0.8.2, "Apache-2.0 OR MIT",
core-foundation: 0.7.0, "Apache-2.0 OR MIT",
core-foundation: 0.9.1, "Apache-2.0 OR MIT",
cpufeatures: 0.1.0, "Apache-2.0 OR MIT",
crc32fast: 1.2.1, "Apache-2.0 OR MIT",
crc: 1.8.1, "Apache-2.0 OR MIT",
crossbeam-channel: 0.4.4, "Apache-2.0 OR MIT",
crossbeam-channel: 0.5.1, "Apache-2.0 OR MIT",
crossbeam-deque: 0.7.3, "Apache-2.0 OR MIT",
crossbeam-deque: 0.8.0, "Apache-2.0 OR MIT",
crossbeam-epoch: 0.8.2, "Apache-2.0 OR MIT",
crossbeam-epoch: 0.9.4, "Apache-2.0 OR MIT",
crossbeam-queue: 0.2.3, "Apache-2.0 AND BSD-2-Clause OR MIT",
crossbeam-queue: 0.3.1, "Apache-2.0 OR MIT",
crossbeam-utils: 0.7.2, "Apache-2.0 OR MIT",
crossbeam-utils: 0.8.4, "Apache-2.0 OR MIT",
crossbeam: 0.7.3, "Apache-2.0 OR MIT",
crypto-mac: 0.6.2, "Apache-2.0 OR MIT",
csv-core: 0.1.10, "MIT OR Unlicense",
csv: 1.1.6, "MIT OR Unlicense",
ctor: 0.1.20, "Apache-2.0 OR MIT",
curve25519-dalek: 3.1.0, "BSD-3-Clause",
darwin-libproc-sys: 0.2.0, "Apache-2.0 OR MIT",
darwin-libproc: 0.2.0, "Apache-2.0 OR MIT",
dashmap: 4.0.2, "MIT",
data-encoding: 2.3.2, "MIT",
deadpool: 0.7.0, "Apache-2.0 OR MIT",
diesel: 1.4.6, "Apache-2.0 OR MIT",
diesel_derives: 1.4.1, "Apache-2.0 OR MIT",
difference: 2.0.0, "MIT",
digest: 0.7.6, "Apache-2.0 OR MIT",
digest: 0.8.1, "Apache-2.0 OR MIT",
digest: 0.9.0, "Apache-2.0 OR MIT",
dirs-sys: 0.3.6, "Apache-2.0 OR MIT",
dirs: 1.0.5, "Apache-2.0 OR MIT",
dirs: 2.0.2, "Apache-2.0 OR MIT",
dirs: 3.0.2, "Apache-2.0 OR MIT",
discard: 1.0.4, "MIT",
dlv-list: 0.2.3, "MIT",
doc-comment: 0.3.3, "MIT",
dotenv: 0.9.0, "MIT",
downcast: 0.10.0, "MIT",
dtoa: 0.4.8, "Apache-2.0 OR MIT",
ed25519-dalek: 1.0.1, "BSD-3-Clause",
ed25519: 1.1.1, "Apache-2.0 OR MIT",
either: 1.6.1, "Apache-2.0 OR MIT",
encode_unicode: 0.3.6, "Apache-2.0 OR MIT",
encoding_rs: 0.8.28, "Apache-2.0 OR MIT",
enum_primitive: 0.1.1, "MIT",
error-chain: 0.12.4, "Apache-2.0 OR MIT",
event-listener: 2.5.1, "Apache-2.0 OR MIT",
failure: 0.1.8, "Apache-2.0 OR MIT",
failure_derive: 0.1.8, "Apache-2.0 OR MIT",
fake-simd: 0.1.2, "Apache-2.0 OR MIT",
fallible-iterator: 0.2.0, "Apache-2.0 OR MIT",
fallible-streaming-iterator: 0.1.9, "Apache-2.0 OR MIT",
fastrand: 1.4.1, "Apache-2.0 OR MIT",
fern: 0.5.9, "MIT",
fern: 0.6.0, "MIT",
filetime: 0.2.14, "Apache-2.0 OR MIT",
flate2: 1.0.20, "Apache-2.0 OR MIT",
flexi_logger: 0.18.0, "Apache-2.0 OR MIT",
float-cmp: 0.8.0, "MIT",
float-ord: 0.2.0, "Apache-2.0 OR MIT",
fnv: 1.0.7, "Apache-2.0 OR MIT",
foreign-types-shared: 0.1.1, "Apache-2.0 OR MIT",
foreign-types: 0.3.2, "Apache-2.0 OR MIT",
form_urlencoded: 1.0.1, "Apache-2.0 OR MIT",
fragile: 1.0.0, "Apache-2.0",
fs2: 0.4.3, "Apache-2.0 OR MIT",
fs_extra: 1.2.0, "MIT",
fsevent-sys: 2.0.1, "MIT",
fsevent: 0.4.0, "MIT",
fuchsia-zircon-sys: 0.3.3, "BSD-3-Clause",
fuchsia-zircon: 0.3.3, "BSD-3-Clause",
futures-channel: 0.3.15, "Apache-2.0 OR MIT",
futures-core: 0.3.15, "Apache-2.0 OR MIT",
futures-cpupool: 0.1.8, "Apache-2.0 OR MIT",
futures-executor: 0.3.15, "Apache-2.0 OR MIT",
futures-io: 0.3.15, "Apache-2.0 OR MIT",
futures-lite: 1.11.3, "Apache-2.0 OR MIT",
futures-macro: 0.3.15, "Apache-2.0 OR MIT",
futures-sink: 0.3.15, "Apache-2.0 OR MIT",
futures-task: 0.3.15, "Apache-2.0 OR MIT",
futures-timer: 3.0.2, "Apache-2.0 OR MIT",
futures-util: 0.3.15, "Apache-2.0 OR MIT",
futures: 0.1.31, "Apache-2.0 OR MIT",
futures: 0.3.15, "Apache-2.0 OR MIT",
generic-array: 0.12.4, "MIT",
generic-array: 0.14.4, "MIT",
generic-array: 0.9.1, "MIT",
getrandom: 0.1.16, "Apache-2.0 OR MIT",
getrandom: 0.2.2, "Apache-2.0 OR MIT",
gimli: 0.23.0, "Apache-2.0 OR MIT",
glob: 0.3.0, "Apache-2.0 OR MIT",
globset: 0.4.6, "MIT OR Unlicense",
h2: 0.1.26, "MIT",
h2: 0.2.7, "MIT",
h2: 0.3.3, "MIT",
half: 1.7.1, "Apache-2.0 OR MIT",
handlebars: 3.5.5, "MIT",
hashbrown: 0.9.1, "Apache-2.0 OR MIT",
hashlink: 0.6.0, "Apache-2.0 OR MIT",
hdrhistogram: 6.3.4, "Apache-2.0 OR MIT",
heapsize: 0.4.2, "Apache-2.0 OR MIT",
heapsize_derive: 0.1.4, "Apache-2.0 OR MIT",
heck: 0.3.2, "Apache-2.0 OR MIT",
hermit-abi: 0.1.18, "Apache-2.0 OR MIT",
hmac: 0.6.3, "Apache-2.0 OR MIT",
hostname: 0.3.1, "MIT",
http-body: 0.1.0, "MIT",
http-body: 0.3.1, "MIT",
http-body: 0.4.1, "MIT",
http-types: 2.11.1, "Apache-2.0 OR MIT",
http: 0.1.21, "Apache-2.0 OR MIT",
http: 0.2.4, "Apache-2.0 OR MIT",
httparse: 1.4.0, "Apache-2.0 OR MIT",
httpdate: 0.3.2, "Apache-2.0 OR MIT",
httpdate: 1.0.0, "Apache-2.0 OR MIT",
hyper-tls: 0.3.2, "Apache-2.0 OR MIT",
hyper-tls: 0.4.3, "Apache-2.0 OR MIT",
hyper-tls: 0.5.0, "Apache-2.0 OR MIT",
hyper: 0.10.16, "MIT",
hyper: 0.12.36, "MIT",
hyper: 0.13.10, "MIT",
hyper: 0.14.7, "MIT",
idna: 0.1.5, "Apache-2.0 OR MIT",
idna: 0.2.3, "Apache-2.0 OR MIT",
ignore: 0.4.17, "MIT OR Unlicense",
im: 15.0.0, "MPL-2.0+",
indexmap: 1.6.2, "Apache-2.0 OR MIT",
indicatif: 0.11.0, "MIT",
infer: 0.2.3, "MIT",
inlinable_string: 0.1.14, "Apache-2.0 OR MIT",
inotify-sys: 0.1.5, "ISC",
inotify: 0.7.1, "ISC",
insta: 0.8.2, "Apache-2.0",
instant: 0.1.9, "BSD-3-Clause",
iovec: 0.1.4, "Apache-2.0 OR MIT",
ipnet: 2.3.0, "Apache-2.0 OR MIT",
iron: 0.6.1, "MIT",
itertools: 0.7.11, "Apache-2.0 OR MIT",
itoa: 0.4.7, "Apache-2.0 OR MIT",
jemalloc-sys: 0.3.2, "Apache-2.0 OR MIT",
jemallocator: 0.3.2, "Apache-2.0 OR MIT",
js-sys: 0.3.50, "Apache-2.0 OR MIT",
jsonrpc-core: 8.0.1, "MIT",
kernel32-sys: 0.2.2, "MIT",
language-tags: 0.2.2, "MIT",
languageserver-types: 0.51.1, "MIT",
lazy_static: 1.4.0, "Apache-2.0 OR MIT",
lazycell: 1.3.0, "Apache-2.0 OR MIT",
lexical-core: 0.7.6, "Apache-2.0 OR MIT",
libc: 0.2.94, "Apache-2.0 OR MIT",
libsqlite3-sys: 0.20.1, "MIT",
linked-hash-map: 0.5.4, "Apache-2.0 OR MIT",
lock_api: 0.3.4, "Apache-2.0 OR MIT",
lock_api: 0.4.4, "Apache-2.0 OR MIT",
log: 0.3.9, "Apache-2.0 OR MIT",
log: 0.4.14, "Apache-2.0 OR MIT",
loggerv: 0.7.2, "MIT",
mac_address: 1.1.1, "Apache-2.0 OR MIT",
mach: 0.3.2, "BSD-2-Clause",
maplit: 1.0.2, "Apache-2.0 OR MIT",
match_cfg: 0.1.0, "Apache-2.0 OR MIT",
matches: 0.1.8, "MIT",
maybe-uninit: 2.0.0, "Apache-2.0 OR MIT",
md-5: 0.9.1, "Apache-2.0 OR MIT",
memchr: 2.3.4, "MIT OR Unlicense",
memoffset: 0.5.6, "MIT",
memoffset: 0.6.3, "MIT",
metrics-core: 0.5.2, "MIT",
metrics-exporter-http: 0.3.0, "MIT",
metrics-exporter-log: 0.4.0, "MIT",
metrics-macros: 0.2.0, "MIT",
metrics-observer-json: 0.1.1, "MIT",
metrics-observer-prometheus: 0.1.4, "MIT",
metrics-observer-yaml: 0.1.1, "MIT",
metrics-runtime: 0.13.1, "MIT",
metrics-util: 0.3.2, "MIT",
metrics-util: 0.6.2, "MIT",
metrics: 0.12.1, "MIT",
metrics: 0.14.2, "MIT",
mime: 0.2.6, "MIT",
mime: 0.3.16, "Apache-2.0 OR MIT",
mime_guess: 1.8.8, "MIT",
mime_guess: 2.0.3, "MIT",
miniz_oxide: 0.4.4, "Apache-2.0 OR MIT OR Zlib",
mio-extras: 2.0.6, "Apache-2.0 OR MIT",
mio-uds: 0.6.8, "Apache-2.0 OR MIT",
mio: 0.6.23, "MIT",
mio: 0.7.11, "MIT",
miow: 0.2.2, "Apache-2.0 OR MIT",
miow: 0.3.7, "Apache-2.0 OR MIT",
mockall: 0.8.3, "Apache-2.0 OR MIT",
mockall_derive: 0.8.3, "Apache-2.0 OR MIT",
modifier: 0.1.0, "MIT",
msdos_time: 0.1.6, "Apache-2.0 OR MIT",
native-tls: 0.2.7, "Apache-2.0 OR MIT",
net2: 0.2.37, "Apache-2.0 OR MIT",
nix: 0.14.1, "MIT",
nix: 0.19.1, "MIT",
nom: 5.1.2, "MIT",
normalize-line-endings: 0.3.0, "Apache-2.0",
notify: 4.0.17, "CC0-1.0",
ntapi: 0.3.6, "Apache-2.0 OR MIT",
num-derive: 0.2.5, "Apache-2.0 OR MIT",
num-integer: 0.1.44, "Apache-2.0 OR MIT",
num-traits: 0.1.43, "Apache-2.0 OR MIT",
num-traits: 0.2.14, "Apache-2.0 OR MIT",
num_cpus: 1.13.0, "Apache-2.0 OR MIT",
number_prefix: 0.2.8, "MIT",
object: 0.23.0, "Apache-2.0 OR MIT",
ole32-sys: 0.2.0, "MIT",
once_cell: 1.7.2, "Apache-2.0 OR MIT",
opaque-debug: 0.2.3, "Apache-2.0 OR MIT",
opaque-debug: 0.3.0, "Apache-2.0 OR MIT",
openssl-probe: 0.1.2, "Apache-2.0 OR MIT",
openssl-src: 111.15.0+1.1.1k, "Apache-2.0 OR MIT",
openssl-sys: 0.9.63, "MIT",
openssl: 0.10.34, "Apache-2.0",
ordered-float: 2.2.0, "MIT",
ordered-multimap: 0.3.1, "MIT",
parking: 2.0.0, "Apache-2.0 OR MIT",
parking_lot: 0.10.2, "Apache-2.0 OR MIT",
parking_lot: 0.11.1, "Apache-2.0 OR MIT",
parking_lot: 0.9.0, "Apache-2.0 OR MIT",
parking_lot_core: 0.6.2, "Apache-2.0 OR MIT",
parking_lot_core: 0.7.2, "Apache-2.0 OR MIT",
parking_lot_core: 0.8.3, "Apache-2.0 OR MIT",
percent-encoding: 1.0.1, "Apache-2.0 OR MIT",
percent-encoding: 2.1.0, "Apache-2.0 OR MIT",
pest: 2.1.3, "Apache-2.0 OR MIT",
pest_derive: 2.1.0, "Apache-2.0 OR MIT",
pest_generator: 2.1.3, "Apache-2.0 OR MIT",
pest_meta: 2.1.3, "Apache-2.0 OR MIT",
phf: 0.7.24, "MIT",
phf_codegen: 0.7.24, "MIT",
phf_generator: 0.7.24, "MIT",
phf_shared: 0.7.24, "MIT",
pin-project-internal: 1.0.7, "Apache-2.0 OR MIT",
pin-project-lite: 0.1.12, "Apache-2.0 OR MIT",
pin-project-lite: 0.2.6, "Apache-2.0 OR MIT",
pin-project: 1.0.7, "Apache-2.0 OR MIT",
pin-utils: 0.1.0, "Apache-2.0 OR MIT",
pkg-config: 0.3.19, "Apache-2.0 OR MIT",
plugin: 0.2.6, "MIT",
podio: 0.1.7, "Apache-2.0 OR MIT",
ppv-lite86: 0.2.10, "Apache-2.0 OR MIT",
pq-sys: 0.4.6, "Apache-2.0 OR MIT",
predicates-core: 1.0.2, "Apache-2.0 OR MIT",
predicates-tree: 1.0.2, "Apache-2.0 OR MIT",
predicates: 1.0.8, "Apache-2.0 OR MIT",
proc-macro-error-attr: 1.0.4, "Apache-2.0 OR MIT",
proc-macro-error: 1.0.4, "Apache-2.0 OR MIT",
proc-macro-hack: 0.5.19, "Apache-2.0 OR MIT",
proc-macro-nested: 0.1.7, "Apache-2.0 OR MIT",
proc-macro2: 0.4.30, "Apache-2.0 OR MIT",
proc-macro2: 1.0.26, "Apache-2.0 OR MIT",
prometheus: 0.12.0, "Apache-2.0",
protobuf: 2.8.0, "MIT",
publicsuffix: 1.5.6, "Apache-2.0 OR MIT",
quanta: 0.3.2, "MIT",
quanta: 0.7.2, "MIT",
quick-error: 1.2.3, "Apache-2.0 OR MIT",
quick-error: 2.0.0, "Apache-2.0 OR MIT",
quote: 0.3.15, "Apache-2.0 OR MIT",
quote: 0.6.13, "Apache-2.0 OR MIT",
quote: 1.0.9, "Apache-2.0 OR MIT",
rand: 0.4.6, "Apache-2.0 OR MIT",
rand: 0.5.6, "Apache-2.0 OR MIT",
rand: 0.6.5, "Apache-2.0 OR MIT",
rand: 0.7.3, "Apache-2.0 OR MIT",
rand: 0.8.3, "Apache-2.0 OR MIT",
rand_chacha: 0.1.1, "Apache-2.0 OR MIT",
rand_chacha: 0.2.2, "Apache-2.0 OR MIT",
rand_chacha: 0.3.0, "Apache-2.0 OR MIT",
rand_core: 0.3.1, "Apache-2.0 OR MIT",
rand_core: 0.4.2, "Apache-2.0 OR MIT",
rand_core: 0.5.1, "Apache-2.0 OR MIT",
rand_core: 0.6.2, "Apache-2.0 OR MIT",
rand_hc: 0.1.0, "Apache-2.0 OR MIT",
rand_hc: 0.2.0, "Apache-2.0 OR MIT",
rand_hc: 0.3.0, "Apache-2.0 OR MIT",
rand_isaac: 0.1.1, "Apache-2.0 OR MIT",
rand_jitter: 0.1.4, "Apache-2.0 OR MIT",
rand_os: 0.1.3, "Apache-2.0 OR MIT",
rand_pcg: 0.1.2, "Apache-2.0 OR MIT",
rand_xorshift: 0.1.1, "Apache-2.0 OR MIT",
rand_xoshiro: 0.4.0, "Apache-2.0 OR MIT",
raw-cpuid: 9.0.0, "MIT",
rayon-core: 1.9.0, "Apache-2.0 OR MIT",
rayon: 1.5.0, "Apache-2.0 OR MIT",
rdrand: 0.4.0, "ISC",
redox_syscall: 0.1.57, "MIT",
redox_syscall: 0.2.8, "MIT",
redox_users: 0.3.5, "MIT",
redox_users: 0.4.0, "MIT",
regex-automata: 0.1.9, "MIT OR Unlicense",
regex-syntax: 0.5.6, "Apache-2.0 OR MIT",
regex-syntax: 0.6.25, "Apache-2.0 OR MIT",
regex: 0.2.11, "Apache-2.0 OR MIT",
regex: 1.4.6, "Apache-2.0 OR MIT",
remove_dir_all: 0.5.3, "Apache-2.0 OR MIT",
reqwest: 0.10.10, "Apache-2.0 OR MIT",
reqwest: 0.11.3, "Apache-2.0 OR MIT",
reqwest: 0.9.24, "Apache-2.0 OR MIT",
result: 1.0.0, "MIT",
revord: 0.0.2, "MIT",
rmp-serde: 0.13.7, "MIT",
rmp: 0.8.10, "MIT",
ron: 0.4.2, "Apache-2.0 OR MIT",
rpds: 0.5.0, "MPL-2.0",
rusqlite: 0.24.2, "MIT",
rust-argon2: 0.8.3, "Apache-2.0 OR MIT",
rust-ini: 0.17.0, "MIT",
rustc-demangle: 0.1.19, "Apache-2.0 OR MIT",
rustc_version: 0.2.3, "Apache-2.0 OR MIT",
rustversion: 1.0.4, "Apache-2.0 OR MIT",
rusty-fork: 0.3.0, "Apache-2.0 OR MIT",
ryu: 1.0.5, "Apache-2.0 OR BSL-1.0",
safemem: 0.3.3, "Apache-2.0 OR MIT",
same-file: 1.0.6, "MIT OR Unlicense",
schannel: 0.1.19, "MIT",
scheduled-thread-pool: 0.2.5, "Apache-2.0 OR MIT",
scopeguard: 1.1.0, "Apache-2.0 OR MIT",
security-framework-sys: 2.2.0, "Apache-2.0 OR MIT",
security-framework: 2.2.0, "Apache-2.0 OR MIT",
semver-parser: 0.7.0, "Apache-2.0 OR MIT",
semver: 0.9.0, "Apache-2.0 OR MIT",
serde: 1.0.125, "Apache-2.0 OR MIT",
serde_derive: 1.0.125, "Apache-2.0 OR MIT",
serde_ini: 0.2.0, "MIT",
serde_json: 1.0.64, "Apache-2.0 OR MIT",
serde_qs: 0.7.2, "Apache-2.0 OR MIT",
serde_urlencoded: 0.5.5, "Apache-2.0 OR MIT",
serde_urlencoded: 0.7.0, "Apache-2.0 OR MIT",
serde_yaml: 0.8.17, "Apache-2.0 OR MIT",
serial_test: 0.5.1, "MIT",
serial_test_derive: 0.5.1, "MIT",
sha-1: 0.8.2, "Apache-2.0 OR MIT",
sha1: 0.6.0, "BSD-3-Clause",
sha2: 0.7.1, "Apache-2.0 OR MIT",
sha2: 0.9.4, "Apache-2.0 OR MIT",
shell32-sys: 0.1.2, "MIT",
shellexpand: 1.1.1, "Apache-2.0 OR MIT",
signal-hook-registry: 1.3.0, "Apache-2.0 OR MIT",
signature: 1.3.0, "Apache-2.0 OR MIT",
siphasher: 0.2.3, "Apache-2.0 OR MIT",
sized-chunks: 0.6.5, "MPL-2.0+",
sketches-ddsketch: 0.1.2, "Apache-2.0",
slab: 0.4.3, "MIT",
smallvec: 0.6.14, "Apache-2.0 OR MIT",
smallvec: 1.6.1, "Apache-2.0 OR MIT",
smawk: 0.3.1, "MIT",
snowflake: 1.3.0, "Apache-2.0 OR MIT",
socket2: 0.3.19, "Apache-2.0 OR MIT",
socket2: 0.4.0, "Apache-2.0 OR MIT",
standback: 0.2.17, "Apache-2.0 OR MIT",
static_assertions: 1.1.0, "Apache-2.0 OR MIT",
stdweb-derive: 0.5.3, "Apache-2.0 OR MIT",
stdweb-internal-macros: 0.2.9, "Apache-2.0 OR MIT",
stdweb-internal-runtime: 0.1.5, "Apache-2.0 OR MIT",
stdweb: 0.4.20, "Apache-2.0 OR MIT",
stream-cancel: 0.4.4, "Apache-2.0 OR MIT",
string: 0.2.1, "MIT",
strsim: 0.8.0, "MIT",
structopt-derive: 0.2.18, "Apache-2.0 OR MIT",
structopt-derive: 0.4.14, "Apache-2.0 OR MIT",
structopt: 0.2.18, "Apache-2.0 OR MIT",
structopt: 0.3.21, "Apache-2.0 OR MIT",
strum: 0.2.2, "MIT",
strum_macros: 0.20.1, "MIT",
subprocess: 0.2.6, "Apache-2.0 OR MIT",
subtle: 2.4.0, "BSD-3-Clause",
syn: 0.11.11, "Apache-2.0 OR MIT",
syn: 0.15.44, "Apache-2.0 OR MIT",
syn: 1.0.72, "Apache-2.0 OR MIT",
synom: 0.11.3, "Apache-2.0 OR MIT",
synstructure: 0.12.4, "MIT",
synstructure: 0.5.2, "MIT",
sys-info: 0.9.0, "MIT",
sysctl: 0.4.1, "MIT",
sysinfo: 0.15.3, "MIT",
tempdir: 0.3.7, "Apache-2.0 OR MIT",
tempfile: 3.2.0, "Apache-2.0 OR MIT",
termcolor: 1.1.2, "MIT OR Unlicense",
terminal_size: 0.1.16, "Apache-2.0 OR MIT",
termios: 0.3.3, "MIT",
textwrap: 0.11.0, "MIT",
textwrap: 0.13.4, "MIT",
thiserror-impl: 1.0.24, "Apache-2.0 OR MIT",
thiserror: 1.0.24, "Apache-2.0 OR MIT",
thread_local: 0.3.6, "Apache-2.0 OR MIT",
thread_local: 1.1.3, "Apache-2.0 OR MIT",
threadpool: 1.8.1, "Apache-2.0 OR MIT",
throttle: 0.1.0, "Apache-2.0",
time-macros-impl: 0.1.1, "Apache-2.0 OR MIT",
time-macros: 0.1.1, "Apache-2.0 OR MIT",
time: 0.1.44, "Apache-2.0 OR MIT",
time: 0.2.26, "Apache-2.0 OR MIT",
tinyvec: 1.2.0, "Apache-2.0 OR MIT OR Zlib",
tinyvec_macros: 0.1.0, "Apache-2.0 OR MIT OR Zlib",
tokio-buf: 0.1.1, "MIT",
tokio-codec: 0.1.2, "MIT",
tokio-current-thread: 0.1.7, "MIT",
tokio-executor: 0.1.10, "MIT",
tokio-fs: 0.1.7, "MIT",
tokio-io: 0.1.13, "MIT",
tokio-macros: 1.2.0, "MIT",
tokio-native-tls: 0.3.0, "MIT",
tokio-reactor: 0.1.12, "MIT",
tokio-sync: 0.1.8, "MIT",
tokio-tcp: 0.1.4, "MIT",
tokio-threadpool: 0.1.18, "MIT",
tokio-timer: 0.2.13, "MIT",
tokio-tls: 0.3.1, "MIT",
tokio-udp: 0.1.6, "MIT",
tokio-uds: 0.2.7, "MIT",
tokio-util: 0.3.1, "MIT",
tokio-util: 0.6.7, "MIT",
tokio: 0.1.22, "MIT",
tokio: 0.2.25, "MIT",
tokio: 1.7.1, "MIT",
toml: 0.4.10, "Apache-2.0 OR MIT",
tower-service: 0.3.1, "MIT",
tracing-core: 0.1.18, "MIT",
tracing-futures: 0.2.5, "MIT",
tracing: 0.1.26, "MIT",
traitobject: 0.1.0, "Apache-2.0 OR MIT",
treeline: 0.1.0, "MIT",
try-lock: 0.2.3, "MIT",
try_from: 0.3.2, "MIT",
typeable: 0.1.2, "MIT",
typemap: 0.3.3, "MIT",
typenum: 1.13.0, "Apache-2.0 OR MIT",
ucd-trie: 0.1.3, "Apache-2.0 OR MIT",
ucd-util: 0.1.8, "Apache-2.0 OR MIT",
unicase: 1.4.2, "MIT",
unicase: 2.6.0, "Apache-2.0 OR MIT",
unicode-bidi: 0.3.5, "Apache-2.0 OR MIT",
unicode-normalization: 0.1.17, "Apache-2.0 OR MIT",
unicode-segmentation: 1.7.1, "Apache-2.0 OR MIT",
unicode-width: 0.1.8, "Apache-2.0 OR MIT",
unicode-xid: 0.0.4, "Apache-2.0 OR MIT",
unicode-xid: 0.1.0, "Apache-2.0 OR MIT",
unicode-xid: 0.2.2, "Apache-2.0 OR MIT",
unsafe-any: 0.4.2, "MIT",
uom: 0.30.0, "Apache-2.0 OR MIT",
url: 1.7.2, "Apache-2.0 OR MIT",
url: 2.2.1, "Apache-2.0 OR MIT",
url_serde: 0.2.0, "Apache-2.0 OR MIT",
utf8-ranges: 1.0.4, "MIT OR Unlicense",
uuid: 0.7.4, "Apache-2.0 OR MIT",
vcpkg: 0.2.12, "Apache-2.0 OR MIT",
vec_map: 0.8.2, "Apache-2.0 OR MIT",
version_check: 0.1.5, "Apache-2.0 OR MIT",
version_check: 0.9.3, "Apache-2.0 OR MIT",
void: 1.0.2, "MIT",
wait-timeout: 0.2.0, "Apache-2.0 OR MIT",
waker-fn: 1.1.0, "Apache-2.0 OR MIT",
walkdir: 2.3.2, "MIT OR Unlicense",
want: 0.2.0, "MIT",
want: 0.3.0, "MIT",
wasi: 0.10.0+wasi-snapshot-preview1, "Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT",
wasi: 0.9.0+wasi-snapshot-preview1, "Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT",
wasm-bindgen-backend: 0.2.73, "Apache-2.0 OR MIT",
wasm-bindgen-futures: 0.4.23, "Apache-2.0 OR MIT",
wasm-bindgen-macro-support: 0.2.73, "Apache-2.0 OR MIT",
wasm-bindgen-macro: 0.2.73, "Apache-2.0 OR MIT",
wasm-bindgen-shared: 0.2.73, "Apache-2.0 OR MIT",
wasm-bindgen: 0.2.73, "Apache-2.0 OR MIT",
web-sys: 0.3.50, "Apache-2.0 OR MIT",
webbrowser: 0.5.2, "Apache-2.0 OR MIT",
webbrowser: 0.5.5, "Apache-2.0 OR MIT",
widestring: 0.4.3, "Apache-2.0 OR MIT",
winapi-build: 0.1.1, "MIT",
winapi-i686-pc-windows-gnu: 0.4.0, "Apache-2.0 OR MIT",
winapi-util: 0.1.5, "MIT OR Unlicense",
winapi-x86_64-pc-windows-gnu: 0.4.0, "Apache-2.0 OR MIT",
winapi: 0.2.8, "MIT",
winapi: 0.3.9, "Apache-2.0 OR MIT",
winreg: 0.6.2, "MIT",
winreg: 0.7.0, "MIT",
wiremock: 0.5.2, "Apache-2.0 OR MIT",
ws2_32-sys: 0.2.1, "MIT",
wsl: 0.1.0, "MIT",
xdg: 2.2.0, "Apache-2.0 OR MIT",
yaml-rust: 0.4.5, "Apache-2.0 OR MIT",
yansi: 0.5.0, "Apache-2.0 OR MIT",
zeroize: 1.3.0, "Apache-2.0 OR MIT",
zeroize_derive: 1.1.0, "Apache-2.0 OR MIT",
zip: 0.4.2, "MIT",
zip: 0.5.12, "MIT",

vs

addr2line: 0.14.1, "Apache-2.0 OR MIT",
adler: 1.0.2, "0BSD OR Apache-2.0 OR MIT",
ahash: 0.4.7, "Apache-2.0 OR MIT",
aho-corasick: 0.6.10, "MIT OR Unlicense",
aho-corasick: 0.7.15, "MIT OR Unlicense",
ansi_term: 0.11.0, "MIT",
ansi_term: 0.12.1, "MIT",
anyhow: 1.0.41, "Apache-2.0 OR MIT",
app_dirs: 1.2.1, "MIT",
arc-swap: 0.4.8, "Apache-2.0 OR MIT",
arrayref: 0.3.6, "BSD-2-Clause",
arrayvec: 0.5.2, "Apache-2.0 OR MIT",
async-channel: 1.6.1, "Apache-2.0 OR MIT",
async-trait: 0.1.50, "Apache-2.0 OR MIT",
atomic-shim: 0.1.0, "Apache-2.0 OR MIT",
atomicwrites: 0.2.5, "MIT",
atty: 0.2.14, "MIT",
autocfg: 0.1.7, "Apache-2.0 OR MIT",
autocfg: 1.0.1, "Apache-2.0 OR MIT",
backtrace: 0.3.58, "Apache-2.0 OR MIT",
base-x: 0.2.8, "MIT",
base64: 0.10.1, "Apache-2.0 OR MIT",
base64: 0.13.0, "Apache-2.0 OR MIT",
base64: 0.9.3, "Apache-2.0 OR MIT",
battery: 0.7.8, "Apache-2.0 OR MIT",
bitflags: 1.2.1, "Apache-2.0 OR MIT",
bitmaps: 2.1.0, "MPL-2.0+",
blake2b_simd: 0.5.11, "MIT",
block-buffer: 0.3.3, "Apache-2.0 OR MIT",
block-buffer: 0.7.3, "Apache-2.0 OR MIT",
block-buffer: 0.9.0, "Apache-2.0 OR MIT",
block-padding: 0.1.5, "Apache-2.0 OR MIT",
bstr: 0.2.15, "Apache-2.0 OR MIT",
build_const: 0.2.2, "MIT",
bumpalo: 3.6.1, "Apache-2.0 OR MIT",
byte-tools: 0.2.0, "Apache-2.0 OR MIT",
byte-tools: 0.3.1, "Apache-2.0 OR MIT",
byteorder: 1.4.3, "MIT OR Unlicense",
bytes: 0.4.12, "MIT",
bytes: 0.5.6, "MIT",
bytes: 1.0.1, "MIT",
bzip2-sys: 0.1.10+1.0.8, "Apache-2.0 OR MIT",
bzip2: 0.3.3, "Apache-2.0 OR MIT",
cache-padded: 1.1.1, "Apache-2.0 OR MIT",
cc: 1.0.67, "Apache-2.0 OR MIT",
cfg-if: 0.1.10, "Apache-2.0 OR MIT",
cfg-if: 1.0.0, "Apache-2.0 OR MIT",
chrono: 0.4.19, "Apache-2.0 OR MIT",
ci_info: 0.3.1, "Apache-2.0",
clap: 2.33.3, "MIT",
clicolors-control: 1.0.1, "MIT",
clokwerk: 0.3.5, "Apache-2.0",
cloudabi: 0.0.3, "BSD-2-Clause",
colored: 1.9.3, "MPL-2.0",
concurrent-queue: 1.2.2, "Apache-2.0 OR MIT",
config: 0.10.1, "Apache-2.0 OR MIT",
console: 0.14.1, "MIT",
console: 0.7.7, "MIT",
const_fn: 0.4.7, "Apache-2.0 OR MIT",
constant_time_eq: 0.1.5, "CC0-1.0",
cookie: 0.12.0, "Apache-2.0 OR MIT",
cookie_store: 0.7.0, "Apache-2.0 OR MIT",
core-foundation-sys: 0.7.0, "Apache-2.0 OR MIT",
core-foundation-sys: 0.8.2, "Apache-2.0 OR MIT",
core-foundation: 0.7.0, "Apache-2.0 OR MIT",
core-foundation: 0.9.1, "Apache-2.0 OR MIT",
cpufeatures: 0.1.0, "Apache-2.0 OR MIT",
crc32fast: 1.2.1, "Apache-2.0 OR MIT",
crc: 1.8.1, "Apache-2.0 OR MIT",
crossbeam-channel: 0.4.4, "Apache-2.0 OR MIT",
crossbeam-channel: 0.5.1, "Apache-2.0 OR MIT",
crossbeam-deque: 0.7.3, "Apache-2.0 OR MIT",
crossbeam-deque: 0.8.0, "Apache-2.0 OR MIT",
crossbeam-epoch: 0.8.2, "Apache-2.0 OR MIT",
crossbeam-epoch: 0.9.4, "Apache-2.0 OR MIT",
crossbeam-queue: 0.2.3, "Apache-2.0 AND BSD-2-Clause OR MIT",
crossbeam-queue: 0.3.1, "Apache-2.0 OR MIT",
crossbeam-utils: 0.7.2, "Apache-2.0 OR MIT",
crossbeam-utils: 0.8.4, "Apache-2.0 OR MIT",
crossbeam: 0.7.3, "Apache-2.0 OR MIT",
crypto-mac: 0.6.2, "Apache-2.0 OR MIT",
csv-core: 0.1.10, "MIT OR Unlicense",
csv: 1.1.6, "MIT OR Unlicense",
ctor: 0.1.20, "Apache-2.0 OR MIT",
curve25519-dalek: 3.1.0, "BSD-3-Clause",
darwin-libproc-sys: 0.2.0, "Apache-2.0 OR MIT",
darwin-libproc: 0.2.0, "Apache-2.0 OR MIT",
dashmap: 4.0.2, "MIT",
data-encoding: 2.3.2, "MIT",
deadpool: 0.7.0, "Apache-2.0 OR MIT",
diesel: 1.4.6, "Apache-2.0 OR MIT",
diesel_derives: 1.4.1, "Apache-2.0 OR MIT",
difference: 2.0.0, "MIT",
digest: 0.7.6, "Apache-2.0 OR MIT",
digest: 0.8.1, "Apache-2.0 OR MIT",
digest: 0.9.0, "Apache-2.0 OR MIT",
dirs-sys: 0.3.6, "Apache-2.0 OR MIT",
dirs: 1.0.5, "Apache-2.0 OR MIT",
dirs: 2.0.2, "Apache-2.0 OR MIT",
dirs: 3.0.2, "Apache-2.0 OR MIT",
discard: 1.0.4, "MIT",
dlv-list: 0.2.3, "MIT",
doc-comment: 0.3.3, "MIT",
dotenv: 0.9.0, "MIT",
downcast: 0.10.0, "MIT",
dtoa: 0.4.8, "Apache-2.0 OR MIT",
ed25519-dalek: 1.0.1, "BSD-3-Clause",
ed25519: 1.1.1, "Apache-2.0 OR MIT",
either: 1.6.1, "Apache-2.0 OR MIT",
encode_unicode: 0.3.6, "Apache-2.0 OR MIT",
encoding_rs: 0.8.28, "Apache-2.0 OR MIT",
enum_primitive: 0.1.1, "MIT",
error-chain: 0.12.4, "Apache-2.0 OR MIT",
event-listener: 2.5.1, "Apache-2.0 OR MIT",
failure: 0.1.8, "Apache-2.0 OR MIT",
failure_derive: 0.1.8, "Apache-2.0 OR MIT",
fake-simd: 0.1.2, "Apache-2.0 OR MIT",
fallible-iterator: 0.2.0, "Apache-2.0 OR MIT",
fallible-streaming-iterator: 0.1.9, "Apache-2.0 OR MIT",
fastrand: 1.4.1, "Apache-2.0 OR MIT",
fern: 0.5.9, "MIT",
fern: 0.6.0, "MIT",
filetime: 0.2.14, "Apache-2.0 OR MIT",
flate2: 1.0.20, "Apache-2.0 OR MIT",
flexi_logger: 0.18.0, "Apache-2.0 OR MIT",
float-cmp: 0.8.0, "MIT",
float-ord: 0.2.0, "Apache-2.0 OR MIT",
fnv: 1.0.7, "Apache-2.0 OR MIT",
foreign-types-shared: 0.1.1, "Apache-2.0 OR MIT",
foreign-types: 0.3.2, "Apache-2.0 OR MIT",
form_urlencoded: 1.0.1, "Apache-2.0 OR MIT",
fragile: 1.0.0, "Apache-2.0",
fs2: 0.4.3, "Apache-2.0 OR MIT",
fs_extra: 1.2.0, "MIT",
fsevent-sys: 2.0.1, "MIT",
fsevent: 0.4.0, "MIT",
fuchsia-zircon-sys: 0.3.3, "BSD-3-Clause",
fuchsia-zircon: 0.3.3, "BSD-3-Clause",
futures-channel: 0.3.15, "Apache-2.0 OR MIT",
futures-core: 0.3.15, "Apache-2.0 OR MIT",
futures-cpupool: 0.1.8, "Apache-2.0 OR MIT",
futures-executor: 0.3.15, "Apache-2.0 OR MIT",
futures-io: 0.3.15, "Apache-2.0 OR MIT",
futures-lite: 1.11.3, "Apache-2.0 OR MIT",
futures-macro: 0.3.15, "Apache-2.0 OR MIT",
futures-sink: 0.3.15, "Apache-2.0 OR MIT",
futures-task: 0.3.15, "Apache-2.0 OR MIT",
futures-timer: 3.0.2, "Apache-2.0 OR MIT",
futures-util: 0.3.15, "Apache-2.0 OR MIT",
futures: 0.1.31, "Apache-2.0 OR MIT",
futures: 0.3.15, "Apache-2.0 OR MIT",
generic-array: 0.12.4, "MIT",
generic-array: 0.14.4, "MIT",
generic-array: 0.9.1, "MIT",
getrandom: 0.1.16, "Apache-2.0 OR MIT",
getrandom: 0.2.2, "Apache-2.0 OR MIT",
gimli: 0.23.0, "Apache-2.0 OR MIT",
glob: 0.3.0, "Apache-2.0 OR MIT",
globset: 0.4.6, "MIT OR Unlicense",
h2: 0.1.26, "MIT",
h2: 0.2.7, "MIT",
h2: 0.3.3, "MIT",
half: 1.7.1, "Apache-2.0 OR MIT",
handlebars: 3.5.5, "MIT",
hashbrown: 0.9.1, "Apache-2.0 OR MIT",
hashlink: 0.6.0, "Apache-2.0 OR MIT",
hdrhistogram: 6.3.4, "Apache-2.0 OR MIT",
heapsize: 0.4.2, "Apache-2.0 OR MIT",
heapsize_derive: 0.1.4, "Apache-2.0 OR MIT",
heck: 0.3.2, "Apache-2.0 OR MIT",
hermit-abi: 0.1.18, "Apache-2.0 OR MIT",
hmac: 0.6.3, "Apache-2.0 OR MIT",
hostname: 0.3.1, "MIT",
http-body: 0.1.0, "MIT",
http-body: 0.3.1, "MIT",
http-body: 0.4.1, "MIT",
http-types: 2.11.1, "Apache-2.0 OR MIT",
http: 0.1.21, "Apache-2.0 OR MIT",
http: 0.2.4, "Apache-2.0 OR MIT",
httparse: 1.4.0, "Apache-2.0 OR MIT",
httpdate: 0.3.2, "Apache-2.0 OR MIT",
httpdate: 1.0.0, "Apache-2.0 OR MIT",
hyper-tls: 0.3.2, "Apache-2.0 OR MIT",
hyper-tls: 0.4.3, "Apache-2.0 OR MIT",
hyper-tls: 0.5.0, "Apache-2.0 OR MIT",
hyper: 0.10.16, "MIT",
hyper: 0.12.36, "MIT",
hyper: 0.13.10, "MIT",
hyper: 0.14.7, "MIT",
idna: 0.1.5, "Apache-2.0 OR MIT",
idna: 0.2.3, "Apache-2.0 OR MIT",
ignore: 0.4.17, "MIT OR Unlicense",
im: 15.0.0, "MPL-2.0+",
indexmap: 1.6.2, "Apache-2.0 OR MIT",
indicatif: 0.11.0, "MIT",
infer: 0.2.3, "MIT",
inlinable_string: 0.1.14, "Apache-2.0 OR MIT",
inotify-sys: 0.1.5, "ISC",
inotify: 0.7.1, "ISC",
insta: 0.8.2, "Apache-2.0",
instant: 0.1.9, "BSD-3-Clause",
iovec: 0.1.4, "Apache-2.0 OR MIT",
ipnet: 2.3.0, "Apache-2.0 OR MIT",
iron: 0.6.1, "MIT",
itertools: 0.7.11, "Apache-2.0 OR MIT",
itoa: 0.4.7, "Apache-2.0 OR MIT",
jemalloc-sys: 0.3.2, "Apache-2.0 OR MIT",
jemallocator: 0.3.2, "Apache-2.0 OR MIT",
js-sys: 0.3.50, "Apache-2.0 OR MIT",
jsonrpc-core: 8.0.1, "MIT",
kernel32-sys: 0.2.2, "MIT",
language-tags: 0.2.2, "MIT",
languageserver-types: 0.51.1, "MIT",
lazy_static: 1.4.0, "Apache-2.0 OR MIT",
lazycell: 1.3.0, "Apache-2.0 OR MIT",
lexical-core: 0.7.6, "Apache-2.0 OR MIT",
libc: 0.2.94, "Apache-2.0 OR MIT",
libsqlite3-sys: 0.20.1, "MIT",
linked-hash-map: 0.5.4, "Apache-2.0 OR MIT",
lock_api: 0.3.4, "Apache-2.0 OR MIT",
lock_api: 0.4.4, "Apache-2.0 OR MIT",
log: 0.3.9, "Apache-2.0 OR MIT",
log: 0.4.14, "Apache-2.0 OR MIT",
loggerv: 0.7.2, "MIT",
mac_address: 1.1.1, "Apache-2.0 OR MIT",
mach: 0.3.2, "BSD-2-Clause",
maplit: 1.0.2, "Apache-2.0 OR MIT",
match_cfg: 0.1.0, "Apache-2.0 OR MIT",
matches: 0.1.8, "MIT",
maybe-uninit: 2.0.0, "Apache-2.0 OR MIT",
md-5: 0.9.1, "Apache-2.0 OR MIT",
memchr: 2.3.4, "MIT OR Unlicense",
memoffset: 0.5.6, "MIT",
memoffset: 0.6.3, "MIT",
metrics-core: 0.5.2, "MIT",
metrics-exporter-http: 0.3.0, "MIT",
metrics-exporter-log: 0.4.0, "MIT",
metrics-macros: 0.2.0, "MIT",
metrics-observer-json: 0.1.1, "MIT",
metrics-observer-prometheus: 0.1.4, "MIT",
metrics-observer-yaml: 0.1.1, "MIT",
metrics-runtime: 0.13.1, "MIT",
metrics-util: 0.3.2, "MIT",
metrics-util: 0.6.2, "MIT",
metrics: 0.12.1, "MIT",
metrics: 0.14.2, "MIT",
mime: 0.2.6, "MIT",
mime: 0.3.16, "Apache-2.0 OR MIT",
mime_guess: 1.8.8, "MIT",
mime_guess: 2.0.3, "MIT",
miniz_oxide: 0.4.4, "Apache-2.0 OR MIT OR Zlib",
mio-extras: 2.0.6, "Apache-2.0 OR MIT",
mio-uds: 0.6.8, "Apache-2.0 OR MIT",
mio: 0.6.23, "MIT",
mio: 0.7.11, "MIT",
miow: 0.2.2, "Apache-2.0 OR MIT",
miow: 0.3.7, "Apache-2.0 OR MIT",
mockall: 0.8.3, "Apache-2.0 OR MIT",
mockall_derive: 0.8.3, "Apache-2.0 OR MIT",
modifier: 0.1.0, "MIT",
msdos_time: 0.1.6, "Apache-2.0 OR MIT",
native-tls: 0.2.7, "Apache-2.0 OR MIT",
net2: 0.2.37, "Apache-2.0 OR MIT",
nix: 0.14.1, "MIT",
nix: 0.19.1, "MIT",
nom: 5.1.2, "MIT",
normalize-line-endings: 0.3.0, "Apache-2.0",
notify: 4.0.17, "CC0-1.0",
ntapi: 0.3.6, "Apache-2.0 OR MIT",
num-derive: 0.2.5, "Apache-2.0 OR MIT",
num-integer: 0.1.44, "Apache-2.0 OR MIT",
num-traits: 0.1.43, "Apache-2.0 OR MIT",
num-traits: 0.2.14, "Apache-2.0 OR MIT",
num_cpus: 1.13.0, "Apache-2.0 OR MIT",
number_prefix: 0.2.8, "MIT",
object: 0.23.0, "Apache-2.0 OR MIT",
ole32-sys: 0.2.0, "MIT",
once_cell: 1.7.2, "Apache-2.0 OR MIT",
opaque-debug: 0.2.3, "Apache-2.0 OR MIT",
opaque-debug: 0.3.0, "Apache-2.0 OR MIT",
openssl-probe: 0.1.2, "Apache-2.0 OR MIT",
openssl-src: 111.15.0+1.1.1k, "Apache-2.0 OR MIT",
openssl-sys: 0.9.63, "MIT",
openssl: 0.10.34, "Apache-2.0",
ordered-float: 2.2.0, "MIT",
ordered-multimap: 0.3.1, "MIT",
parking: 2.0.0, "Apache-2.0 OR MIT",
parking_lot: 0.10.2, "Apache-2.0 OR MIT",
parking_lot: 0.11.1, "Apache-2.0 OR MIT",
parking_lot: 0.9.0, "Apache-2.0 OR MIT",
parking_lot_core: 0.6.2, "Apache-2.0 OR MIT",
parking_lot_core: 0.7.2, "Apache-2.0 OR MIT",
parking_lot_core: 0.8.3, "Apache-2.0 OR MIT",
percent-encoding: 1.0.1, "Apache-2.0 OR MIT",
percent-encoding: 2.1.0, "Apache-2.0 OR MIT",
pest: 2.1.3, "Apache-2.0 OR MIT",
pest_derive: 2.1.0, "Apache-2.0 OR MIT",
pest_generator: 2.1.3, "Apache-2.0 OR MIT",
pest_meta: 2.1.3, "Apache-2.0 OR MIT",
phf: 0.7.24, "MIT",
phf_codegen: 0.7.24, "MIT",
phf_generator: 0.7.24, "MIT",
phf_shared: 0.7.24, "MIT",
pin-project-internal: 1.0.7, "Apache-2.0 OR MIT",
pin-project-lite: 0.1.12, "Apache-2.0 OR MIT",
pin-project-lite: 0.2.6, "Apache-2.0 OR MIT",
pin-project: 1.0.7, "Apache-2.0 OR MIT",
pin-utils: 0.1.0, "Apache-2.0 OR MIT",
pkg-config: 0.3.19, "Apache-2.0 OR MIT",
plugin: 0.2.6, "MIT",
podio: 0.1.7, "Apache-2.0 OR MIT",
ppv-lite86: 0.2.10, "Apache-2.0 OR MIT",
pq-sys: 0.4.6, "Apache-2.0 OR MIT",
predicates-core: 1.0.2, "Apache-2.0 OR MIT",
predicates-tree: 1.0.2, "Apache-2.0 OR MIT",
predicates: 1.0.8, "Apache-2.0 OR MIT",
proc-macro-error-attr: 1.0.4, "Apache-2.0 OR MIT",
proc-macro-error: 1.0.4, "Apache-2.0 OR MIT",
proc-macro-hack: 0.5.19, "Apache-2.0 OR MIT",
proc-macro-nested: 0.1.7, "Apache-2.0 OR MIT",
proc-macro2: 0.4.30, "Apache-2.0 OR MIT",
proc-macro2: 1.0.26, "Apache-2.0 OR MIT",
prometheus: 0.12.0, "Apache-2.0",
protobuf: 2.8.0, "MIT",
publicsuffix: 1.5.6, "Apache-2.0 OR MIT",
quanta: 0.3.2, "MIT",
quanta: 0.7.2, "MIT",
quick-error: 1.2.3, "Apache-2.0 OR MIT",
quick-error: 2.0.0, "Apache-2.0 OR MIT",
quote: 0.3.15, "Apache-2.0 OR MIT",
quote: 0.6.13, "Apache-2.0 OR MIT",
quote: 1.0.9, "Apache-2.0 OR MIT",
rand: 0.4.6, "Apache-2.0 OR MIT",
rand: 0.5.6, "Apache-2.0 OR MIT",
rand: 0.6.5, "Apache-2.0 OR MIT",
rand: 0.7.3, "Apache-2.0 OR MIT",
rand: 0.8.3, "Apache-2.0 OR MIT",
rand_chacha: 0.1.1, "Apache-2.0 OR MIT",
rand_chacha: 0.2.2, "Apache-2.0 OR MIT",
rand_chacha: 0.3.0, "Apache-2.0 OR MIT",
rand_core: 0.3.1, "Apache-2.0 OR MIT",
rand_core: 0.4.2, "Apache-2.0 OR MIT",
rand_core: 0.5.1, "Apache-2.0 OR MIT",
rand_core: 0.6.2, "Apache-2.0 OR MIT",
rand_hc: 0.1.0, "Apache-2.0 OR MIT",
rand_hc: 0.2.0, "Apache-2.0 OR MIT",
rand_hc: 0.3.0, "Apache-2.0 OR MIT",
rand_isaac: 0.1.1, "Apache-2.0 OR MIT",
rand_jitter: 0.1.4, "Apache-2.0 OR MIT",
rand_os: 0.1.3, "Apache-2.0 OR MIT",
rand_pcg: 0.1.2, "Apache-2.0 OR MIT",
rand_xorshift: 0.1.1, "Apache-2.0 OR MIT",
rand_xoshiro: 0.4.0, "Apache-2.0 OR MIT",
raw-cpuid: 9.0.0, "MIT",
rayon-core: 1.9.0, "Apache-2.0 OR MIT",
rayon: 1.5.0, "Apache-2.0 OR MIT",
rdrand: 0.4.0, "ISC",
redox_syscall: 0.1.57, "MIT",
redox_syscall: 0.2.8, "MIT",
redox_users: 0.3.5, "MIT",
redox_users: 0.4.0, "MIT",
regex-automata: 0.1.9, "MIT OR Unlicense",
regex-syntax: 0.5.6, "Apache-2.0 OR MIT",
regex-syntax: 0.6.25, "Apache-2.0 OR MIT",
regex: 0.2.11, "Apache-2.0 OR MIT",
regex: 1.4.6, "Apache-2.0 OR MIT",
remove_dir_all: 0.5.3, "Apache-2.0 OR MIT",
reqwest: 0.10.10, "Apache-2.0 OR MIT",
reqwest: 0.11.3, "Apache-2.0 OR MIT",
reqwest: 0.9.24, "Apache-2.0 OR MIT",
result: 1.0.0, "MIT",
revord: 0.0.2, "MIT",
rmp-serde: 0.13.7, "MIT",
rmp: 0.8.10, "MIT",
ron: 0.4.2, "Apache-2.0 OR MIT",
rpds: 0.5.0, "MPL-2.0",
rusqlite: 0.24.2, "MIT",
rust-argon2: 0.8.3, "Apache-2.0 OR MIT",
rust-ini: 0.17.0, "MIT",
rustc-demangle: 0.1.19, "Apache-2.0 OR MIT",
rustc_version: 0.2.3, "Apache-2.0 OR MIT",
rustversion: 1.0.4, "Apache-2.0 OR MIT",
rusty-fork: 0.3.0, "Apache-2.0 OR MIT",
ryu: 1.0.5, "Apache-2.0 OR BSL-1.0",
safemem: 0.3.3, "Apache-2.0 OR MIT",
same-file: 1.0.6, "MIT OR Unlicense",
schannel: 0.1.19, "MIT",
scheduled-thread-pool: 0.2.5, "Apache-2.0 OR MIT",
scopeguard: 1.1.0, "Apache-2.0 OR MIT",
security-framework-sys: 2.2.0, "Apache-2.0 OR MIT",
security-framework: 2.2.0, "Apache-2.0 OR MIT",
semver-parser: 0.7.0, "Apache-2.0 OR MIT",
semver: 0.9.0, "Apache-2.0 OR MIT",
serde: 1.0.125, "Apache-2.0 OR MIT",
serde_derive: 1.0.125, "Apache-2.0 OR MIT",
serde_ini: 0.2.0, "MIT",
serde_json: 1.0.64, "Apache-2.0 OR MIT",
serde_qs: 0.7.2, "Apache-2.0 OR MIT",
serde_urlencoded: 0.5.5, "Apache-2.0 OR MIT",
serde_urlencoded: 0.7.0, "Apache-2.0 OR MIT",
serde_yaml: 0.8.17, "Apache-2.0 OR MIT",
serial_test: 0.5.1, "MIT",
serial_test_derive: 0.5.1, "MIT",
sha-1: 0.8.2, "Apache-2.0 OR MIT",
sha1: 0.6.0, "BSD-3-Clause",
sha2: 0.7.1, "Apache-2.0 OR MIT",
sha2: 0.9.4, "Apache-2.0 OR MIT",
shell32-sys: 0.1.2, "MIT",
shellexpand: 1.1.1, "Apache-2.0 OR MIT",
signal-hook-registry: 1.3.0, "Apache-2.0 OR MIT",
signature: 1.3.0, "Apache-2.0 OR MIT",
siphasher: 0.2.3, "Apache-2.0 OR MIT",
sized-chunks: 0.6.5, "MPL-2.0+",
sketches-ddsketch: 0.1.2, "Apache-2.0",
slab: 0.4.3, "MIT",
smallvec: 0.6.14, "Apache-2.0 OR MIT",
smallvec: 1.6.1, "Apache-2.0 OR MIT",
smawk: 0.3.1, "MIT",
snowflake: 1.3.0, "Apache-2.0 OR MIT",
socket2: 0.3.19, "Apache-2.0 OR MIT",
socket2: 0.4.0, "Apache-2.0 OR MIT",
standback: 0.2.17, "Apache-2.0 OR MIT",
static_assertions: 1.1.0, "Apache-2.0 OR MIT",
stdweb-derive: 0.5.3, "Apache-2.0 OR MIT",
stdweb-internal-macros: 0.2.9, "Apache-2.0 OR MIT",
stdweb-internal-runtime: 0.1.5, "Apache-2.0 OR MIT",
stdweb: 0.4.20, "Apache-2.0 OR MIT",
stream-cancel: 0.4.4, "Apache-2.0 OR MIT",
string: 0.2.1, "MIT",
strsim: 0.8.0, "MIT",
structopt-derive: 0.2.18, "Apache-2.0 OR MIT",
structopt-derive: 0.4.14, "Apache-2.0 OR MIT",
structopt: 0.2.18, "Apache-2.0 OR MIT",
structopt: 0.3.21, "Apache-2.0 OR MIT",
strum: 0.2.2, "MIT",
strum_macros: 0.20.1, "MIT",
subprocess: 0.2.6, "Apache-2.0 OR MIT",
subtle: 2.4.0, "BSD-3-Clause",
syn: 0.11.11, "Apache-2.0 OR MIT",
syn: 0.15.44, "Apache-2.0 OR MIT",
syn: 1.0.72, "Apache-2.0 OR MIT",
synom: 0.11.3, "Apache-2.0 OR MIT",
synstructure: 0.12.4, "MIT",
synstructure: 0.5.2, "MIT",
sys-info: 0.9.0, "MIT",
sysctl: 0.4.1, "MIT",
sysinfo: 0.15.3, "MIT",
tempdir: 0.3.7, "Apache-2.0 OR MIT",
tempfile: 3.2.0, "Apache-2.0 OR MIT",
termcolor: 1.1.2, "MIT OR Unlicense",
terminal_size: 0.1.16, "Apache-2.0 OR MIT",
termios: 0.3.3, "MIT",
textwrap: 0.11.0, "MIT",
textwrap: 0.13.4, "MIT",
thiserror-impl: 1.0.24, "Apache-2.0 OR MIT",
thiserror: 1.0.24, "Apache-2.0 OR MIT",
thread_local: 0.3.6, "Apache-2.0 OR MIT",
thread_local: 1.1.3, "Apache-2.0 OR MIT",
threadpool: 1.8.1, "Apache-2.0 OR MIT",
throttle: 0.1.0, "Apache-2.0",
time-macros-impl: 0.1.1, "Apache-2.0 OR MIT",
time-macros: 0.1.1, "Apache-2.0 OR MIT",
time: 0.1.44, "Apache-2.0 OR MIT",
time: 0.2.26, "Apache-2.0 OR MIT",
tinyvec: 1.2.0, "Apache-2.0 OR MIT OR Zlib",
tinyvec_macros: 0.1.0, "Apache-2.0 OR MIT OR Zlib",
tokio-buf: 0.1.1, "MIT",
tokio-codec: 0.1.2, "MIT",
tokio-current-thread: 0.1.7, "MIT",
tokio-executor: 0.1.10, "MIT",
tokio-fs: 0.1.7, "MIT",
tokio-io: 0.1.13, "MIT",
tokio-macros: 1.2.0, "MIT",
tokio-native-tls: 0.3.0, "MIT",
tokio-reactor: 0.1.12, "MIT",
tokio-sync: 0.1.8, "MIT",
tokio-tcp: 0.1.4, "MIT",
tokio-threadpool: 0.1.18, "MIT",
tokio-timer: 0.2.13, "MIT",
tokio-tls: 0.3.1, "MIT",
tokio-udp: 0.1.6, "MIT",
tokio-uds: 0.2.7, "MIT",
tokio-util: 0.3.1, "MIT",
tokio-util: 0.6.7, "MIT",
tokio: 0.1.22, "MIT",
tokio: 0.2.25, "MIT",
tokio: 1.7.1, "MIT",
toml: 0.4.10, "Apache-2.0 OR MIT",
tower-service: 0.3.1, "MIT",
tracing-core: 0.1.18, "MIT",
tracing-futures: 0.2.5, "MIT",
tracing: 0.1.26, "MIT",
traitobject: 0.1.0, "Apache-2.0 OR MIT",
treeline: 0.1.0, "MIT",
try-lock: 0.2.3, "MIT",
try_from: 0.3.2, "MIT",
typeable: 0.1.2, "MIT",
typemap: 0.3.3, "MIT",
typenum: 1.13.0, "Apache-2.0 OR MIT",
ucd-trie: 0.1.3, "Apache-2.0 OR MIT",
ucd-util: 0.1.8, "Apache-2.0 OR MIT",
unicase: 1.4.2, "MIT",
unicase: 2.6.0, "Apache-2.0 OR MIT",
unicode-bidi: 0.3.5, "Apache-2.0 OR MIT",
unicode-normalization: 0.1.17, "Apache-2.0 OR MIT",
unicode-segmentation: 1.7.1, "Apache-2.0 OR MIT",
unicode-width: 0.1.8, "Apache-2.0 OR MIT",
unicode-xid: 0.0.4, "Apache-2.0 OR MIT",
unicode-xid: 0.1.0, "Apache-2.0 OR MIT",
unicode-xid: 0.2.2, "Apache-2.0 OR MIT",
unsafe-any: 0.4.2, "MIT",
uom: 0.30.0, "Apache-2.0 OR MIT",
url: 1.7.2, "Apache-2.0 OR MIT",
url: 2.2.1, "Apache-2.0 OR MIT",
url_serde: 0.2.0, "Apache-2.0 OR MIT",
utf8-ranges: 1.0.4, "MIT OR Unlicense",
uuid: 0.7.4, "Apache-2.0 OR MIT",
vcpkg: 0.2.12, "Apache-2.0 OR MIT",
vec_map: 0.8.2, "Apache-2.0 OR MIT",
version_check: 0.1.5, "Apache-2.0 OR MIT",
version_check: 0.9.3, "Apache-2.0 OR MIT",
void: 1.0.2, "MIT",
wait-timeout: 0.2.0, "Apache-2.0 OR MIT",
waker-fn: 1.1.0, "Apache-2.0 OR MIT",
walkdir: 2.3.2, "MIT OR Unlicense",
want: 0.2.0, "MIT",
want: 0.3.0, "MIT",
wasi: 0.10.0+wasi-snapshot-preview1, "Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT",
wasi: 0.9.0+wasi-snapshot-preview1, "Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT",
wasm-bindgen-backend: 0.2.73, "Apache-2.0 OR MIT",
wasm-bindgen-futures: 0.4.23, "Apache-2.0 OR MIT",
wasm-bindgen-macro-support: 0.2.73, "Apache-2.0 OR MIT",
wasm-bindgen-macro: 0.2.73, "Apache-2.0 OR MIT",
wasm-bindgen-shared: 0.2.73, "Apache-2.0 OR MIT",
wasm-bindgen: 0.2.73, "Apache-2.0 OR MIT",
web-sys: 0.3.50, "Apache-2.0 OR MIT",
webbrowser: 0.5.2, "Apache-2.0 OR MIT",
webbrowser: 0.5.5, "Apache-2.0 OR MIT",
widestring: 0.4.3, "Apache-2.0 OR MIT",
winapi-build: 0.1.1, "MIT",
winapi-i686-pc-windows-gnu: 0.4.0, "Apache-2.0 OR MIT",
winapi-util: 0.1.5, "MIT OR Unlicense",
winapi-x86_64-pc-windows-gnu: 0.4.0, "Apache-2.0 OR MIT",
winapi: 0.2.8, "MIT",
winapi: 0.3.9, "Apache-2.0 OR MIT",
winreg: 0.6.2, "MIT",
winreg: 0.7.0, "MIT",
wiremock: 0.5.2, "Apache-2.0 OR MIT",
ws2_32-sys: 0.2.1, "MIT",
wsl: 0.1.0, "MIT",
xdg: 2.2.0, "Apache-2.0 OR MIT",
yaml-rust: 0.4.5, "Apache-2.0 OR MIT",
yansi: 0.5.0, "Apache-2.0 OR MIT",
zeroize: 1.3.0, "Apache-2.0 OR MIT",
zeroize_derive: 1.1.0, "Apache-2.0 OR MIT",
zip: 0.4.2, "MIT",
zip: 0.5.12, "MIT",

For instance "sized-chunks" is a dependency of metrics-runtime only (checked by running cargo tree)

cargo tree 
# abbreviated
├── metrics-runtime v0.13.1
│   ├── arc-swap v0.4.8
│   ├── atomic-shim v0.1.0
│   ├── crossbeam-utils v0.7.2
│   │   ├── cfg-if v0.1.10
│   │   └── lazy_static v1.4.0
│   │   [build-dependencies]
│   │   └── autocfg v1.0.1
│   ├── im v15.0.0
│   │   ├── bitmaps v2.1.0
│   │   │   └── typenum v1.13.0
│   │   ├── rand_core v0.5.1
│   │   │   └── getrandom v0.1.16
│   │   │       ├── cfg-if v1.0.0
│   │   │       └── libc v0.2.94
│   │   ├── rand_xoshiro v0.4.0
│   │   │   └── rand_core v0.5.1 (*)
│   │   ├── sized-chunks v0.6.5
avnerbarr commented 3 years ago

I've also tried combinations of the other flags

        --avoid-build-deps    Exclude build dependencies
        --avoid-dev-deps      Exclude development dependencies
        --no-deps             Output information only about the root package and don't fetch dependencies
mckaymatt commented 3 years ago

It seems to work for me on 0.4.1.

cargo-license --version                                                                         
cargo-license 0.4.1

cargo-license --all-features --filter-platform x86_64-unknown-linux-gnu   --no-deps --do-not-bundle | wc -l
57
cargo-license --all-features --filter-platform x86_64-unknown-linux-gnu  --do-not-bundle | wc -l 
134
cargo-license --all-features --filter-platform x86_64-unknown-linux-gnu   --no-deps --do-not-bundle --avoid-build-deps --avoid-dev-deps | wc -l
36
cargo-license --all-features --filter-platform x86_64-unknown-linux-gnu  --no-deps  --do-not-bundle  --avoid-build-deps | wc -l                 
55
cargo-license --all-features --filter-platform x86_64-unknown-linux-gnu  --do-not-bundle --avoid-build-deps | wc -l
110
cargo-license --all-features --filter-platform x86_64-unknown-linux-gnu  --do-not-bundle --avoid-build-deps --avoid-dev-deps | wc -l
98

I didn't look closely at each dependency but I think something strange is going on if those flags don't work. Can you make sure you're on the latest and try on a public repo?

good-praxis commented 2 years ago

Yup, the --no-deps code seems broken, look here: https://github.com/onur/cargo-license/blob/f1ce4a2bf19eac5612a19094000ea878b3f5dd00/src/main.rs#L207-L209

It sets the "no default features" flag in CargoOpt, it doesn't set any logic to skip dependencies further down the tree

good-praxis commented 2 years ago

Alright I did some further digging and I can tell you what the issue is, even if I don't grasps how to fix it.

Calling with --no-deps (if configured properly, i.e. replacing line 208 here https://github.com/onur/cargo-license/blob/f1ce4a2bf19eac5612a19094000ea878b3f5dd00/src/main.rs#L207-L209 with cmd.no_deps() will cause the resolve field in metadata to be None instead of Some(T).

https://github.com/onur/cargo-license/blob/f1ce4a2bf19eac5612a19094000ea878b3f5dd00/src/lib.rs#L59 The resolve is the dependency graph, see https://docs.rs/cargo_metadata/latest/cargo_metadata/struct.Resolve.html

Yet the dependencies can still be found on the root package under the path metadata.packages[0].dependencies, and technically we only need to aggregate the PackageIds of those in a HashSet and return it, but the function that traverses the dependency graph expects a dependency graph. Refactoring might be needed.