Skip to content

Review dependencies licences #269

Open

Description

@josecelano

Hey @da2ce7, I'm trying to find a tool to detect potential licence incompatibilities. I've found only a cargo subcommand to list your dependencies licences so far:

$ cargo license
(Apache-2.0 OR MIT) AND BSD-3-Clause (1): encoding_rs
(MIT OR Apache-2.0) AND Unicode-DFS-2016 (1): unicode-ident
0BSD OR Apache-2.0 OR MIT (1): adler
AGPL-3.0 (5): torrust-tracker, torrust-tracker-configuration, torrust-tracker-located-error, torrust-tracker-primitives, torrust-tracker-test-helpers
Apache-2.0 (10): aquatic_udp_protocol, borsh-derive, borsh-derive-internal, borsh-schema-derive-internal, clang-sys, codespan-reporting, fragile, normalize-line-endings, openssl, sync_wrapper
Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT (5): io-lifetimes, linux-raw-sys, rustix, wasi, wasi
Apache-2.0 OR BSL-1.0 (1): ryu
Apache-2.0 OR ISC OR MIT (3): rustls, rustls-pemfile, sct
Apache-2.0 OR MIT (219): addr2line, ahash, ahash, android_system_properties, arc-swap, arrayvec, async-trait, autocfg, backtrace, base64, base64, bigdecimal, bip_bencode, bitflags, block-buffer, borsh, bufstream, bumpalo, cc, cexpr, cfg-if, chrono, cmake, config, core-foundation, core-foundation-sys, cpufeatures, crc32fast, crossbeam, crossbeam-channel, crossbeam-deque, crossbeam-epoch, crossbeam-queue, crossbeam-utils, crypto-common, cxx, cxx-build, cxxbridge-flags, cxxbridge-macro, derive_utils, digest, either, errno, error-chain, fallible-iterator, fallible-streaming-iterator, fastrand, flate2, fnv, foreign-types, foreign-types-shared, form_urlencoded, futures, futures-channel, futures-core, futures-executor, futures-io, futures-macro, futures-sink, futures-task, futures-util, getrandom, gimli, glob, hashbrown, hashbrown, hashlink, hermit-abi, hex, http, httparse, httpdate, hyper-tls, iana-time-zone, iana-time-zone-haiku, ident_case, idna, indexmap, io-enum, ipnet, itertools, itoa, js-sys, lazy_static, lazycell, lexical, lexical-core, lexical-parse-float, lexical-parse-integer, lexical-util, lexical-write-float, lexical-write-integer, libc, libz-sys, link-cplusplus, linked-hash-map, local-ip-address, lock_api, log, mime, minimal-lexical, mockall, mockall_derive, multimap, mysql, mysql_common, named_pipe, native-tls, num-bigint, num-integer, num-traits, num_cpus, object, once_cell, openssl-macros, openssl-probe, openssl-src, parking_lot, parking_lot_core, pathdiff, peeking_take_while, percent-encoding, pest, pest_derive, pest_generator, pest_meta, pin-project, pin-project-internal, pin-project-lite, pin-utils, pkg-config, ppv-lite86, predicates, predicates-core, predicates-tree, proc-macro-crate, proc-macro-hack, proc-macro2, quote, r2d2, rand, rand_chacha, rand_core, regex, regex-syntax, reqwest, ron, rustc-demangle, rustc-hash, rustc_version, rustversion, scheduled-thread-pool, scopeguard, scratch, security-framework, security-framework-sys, semver, serde, serde_bytes, serde_derive, serde_json, serde_path_to_error, serde_repr, serde_spanned, serde_urlencoded, serde_with, serde_with_macros, sha1, sha2, shlex, signal-hook-registry, simdutf8, smallvec, socket2, static_assertions, subprocess, syn, tempfile, thiserror, thiserror-impl, time, time, time-core, time-macros, tokio-rustls, toml, toml, toml_datetime, toml_edit, typenum, ucd-trie, unicode-bidi, unicode-normalization, unicode-width, url, uuid, vcpkg, version_check, wasm-bindgen, wasm-bindgen-backend, wasm-bindgen-futures, wasm-bindgen-macro, wasm-bindgen-macro-support, wasm-bindgen-shared, web-sys, winapi, winapi-i686-pc-windows-gnu, winapi-x86_64-pc-windows-gnu, windows-sys, windows-sys, windows-targets, windows_aarch64_gnullvm, windows_aarch64_msvc, windows_i686_gnu, windows_i686_msvc, windows_x86_64_gnu, windows_x86_64_gnullvm, windows_x86_64_msvc, yaml-rust
Apache-2.0 OR MIT OR Zlib (3): miniz_oxide, tinyvec, tinyvec_macros
BSD-3-Clause (3): bindgen, instant, neli
Custom License File (2): ring, webpki
ISC (4): forwarded-header-value, json5, libloading, untrusted
MIT (79): axum, axum-client-ip, axum-core, axum-server, binascii, bitvec, bytecheck, bytecheck_derive, bytes, convert_case, darling, darling_core, darling_macro, derive_more, difflib, dlv-list, downcast, errno-dragonfly, fern, float-cmp, frunk, frunk_core, frunk_derives, frunk_proc_macro_helpers, frunk_proc_macros, frunk_proc_macros_impl, funty, generic-array, h2, http-body, http-range-header, hyper, libsqlite3-sys, lru, matchit, memoffset, mio, nom, nonempty, openssl-sys, ordered-multimap, pem, ptr_meta, ptr_meta_derive, r2d2_mysql, r2d2_sqlite, radium, redox_syscall, rend, rkyv, rkyv_derive, rusqlite, rust-ini, rust_decimal, saturating, schannel, seahash, serde_bencode, slab, spin, strsim, tap, termtree, tokio, tokio-macros, tokio-native-tls, tokio-util, tower, tower-http, tower-layer, tower-service, tracing, tracing-core, try-lock, twox-hash, want, winnow, winreg, wyz
MIT OR Unlicense (5): aho-corasick, byteorder, memchr, termcolor, winapi-util

Activity

  1. added
    Legal
    on Mar 31, 2023
  2. josecelano commented on Oct 7, 2023

    @josecelano
    MemberAuthor

    Hi @josecelano do you know: https://snyk.io/product/open-source-security-management/license-compliance/

    Hi @alexohneander, I knew Snyk for checking the dockerfile vulnerabilities but I did not they have this feature to check licenses. That feature requires a payment subscription.

  3. added
    - Contributor -
    Needs Research
    on Oct 10, 2023
  4. moved this to Maintenance in Torrust Solutionon Jan 8, 2024
  5. added this to the milestone on Jan 16, 2024
  6. removed this from the milestone on Jun 26, 2026
  7. josecelano commented on Aug 27, 2026

    @josecelano
    MemberAuthor

    Updated output:

    $ cargo license
    (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR ISC OR MIT-0) AND (Apache-2.0 OR ISC) AND Apache-2.0 AND BSD-3-Clause AND ISC AND MIT (1): aws-lc-sys
    (Apache-2.0 OR ISC) AND ISC (1): aws-lc-rs
    (Apache-2.0 OR MIT) AND BSD-3-Clause (1): encoding_rs
    (Apache-2.0 OR MIT) AND Unicode-3.0 (1): unicode-ident
    0BSD OR Apache-2.0 OR MIT (1): adler2
    AGPL-3.0 (24): torrust-clock, torrust-located-error, torrust-metrics, torrust-net-primitives, torrust-server-lib, torrust-tracker, torrust-tracker-axum-health-check-api-server, torrust-tracker-axum-http-server, torrust-tracker-axum-rest-api-server, torrust-tracker-axum-server, torrust-tracker-configuration, torrust-tracker-core, torrust-tracker-events, torrust-tracker-http-core, torrust-tracker-http-protocol, torrust-tracker-primitives, torrust-tracker-rest-api-application, torrust-tracker-rest-api-protocol, torrust-tracker-rest-api-runtime-adapter, torrust-tracker-swarm-coordination-registry, torrust-tracker-test-helpers, torrust-tracker-udp-core, torrust-tracker-udp-protocol, torrust-tracker-udp-server
    Apache-2.0 (16): bollard, bollard-buildkit-proto, bollard-stubs, ciborium, ciborium-io, ciborium-ll, fragile, hyper-named-pipe, openssl, prost, prost-derive, prost-types, sync_wrapper, torrust-bencode, torrust-info-hash, torrust-peer-id
    Apache-2.0 AND ISC (1): ring
    Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT (5): linux-raw-sys, rustix, wasi, wasip2, wit-bindgen
    Apache-2.0 OR BSD-2-Clause OR MIT (2): zerocopy, zerocopy-derive
    Apache-2.0 OR BSL-1.0 (1): ryu
    Apache-2.0 OR BSL-1.0 OR MIT (2): wasite, whoami
    Apache-2.0 OR CC0-1.0 OR MIT-0 (1): dunce
    Apache-2.0 OR ISC OR MIT (3): hyper-rustls, rustls, rustls-native-certs
    Apache-2.0 OR LGPL-2.1-or-later OR MIT (2): r-efi, r-efi
    Apache-2.0 OR MIT (358): allocator-api2, android_system_properties, anes, anstream, anstyle, anstyle-parse, anstyle-query, anstyle-wincon, anyhow, arc-swap, astral-tokio-tar, async-compression, async-trait, atomic, atomic-waker, autocfg, base64, base64ct, bit-vec, bitflags, bitflags, block-buffer, block-buffer, blowfish, bs58, bumpalo, camino, cast, cc, cfg-if, chacha20, chrono, cipher, clap, clap_builder, clap_derive, clap_lex, cmake, cmov, colorchoice, compression-codecs, compression-core, const-oid, const-oid, core-foundation, core-foundation, core-foundation-sys, cpufeatures, cpufeatures, crc, crc-catalog, crc32fast, criterion, criterion-plot, crossbeam-deque, crossbeam-epoch, crossbeam-queue, crossbeam-skiplist, crossbeam-utils, crypto-common, crypto-common, ctutils, defmt, defmt-macros, defmt-parser, der, deranged, diff, digest, digest, displaydoc, docker_credential, dyn-clone, either, env_filter, env_logger, equivalent, errno, etcetera, etcetera, event-listener, fastrand, ferroid, figment, find-msvc-tools, flate2, flume, fnv, foreign-types, foreign-types-shared, form_urlencoded, fs-err, futures, futures-channel, futures-core, futures-executor, futures-intrusive, futures-io, futures-macro, futures-sink, futures-task, futures-timer, futures-util, getrandom, getrandom, getrandom, glob, half, hashbrown, hashbrown, hashbrown, hashlink, heck, hermit-abi, hex, hkdf, hmac, hmac, home, http, httparse, httpdate, hybrid-array, hyper-timeout, iana-time-zone, iana-time-zone-haiku, ident_case, idna, idna_adapter, indexmap, indexmap, inlinable_string, inout, ipnet, is_terminal_polyfill, itertools, itertools, itoa, jni, jni-macros, jni-sys, jni-sys-macros, jobserver, js-sys, lazy_static, libc, lock_api, log, md-5, mime, mockall, mockall_derive, multimap, native-tls, num, num-bigint, num-bigint-dig, num-complex, num-conv, num-integer, num-iter, num-rational, num-traits, once_cell, once_cell_polyfill, openssl-macros, openssl-probe, parking, parking_lot, parking_lot_core, parse-display, parse-display-derive, pbkdf2, pear, pear_codegen, pem-rfc7468, percent-encoding, pest, pest_derive, pest_generator, pest_meta, pin-project, pin-project-internal, pin-project-lite, pkcs1, pkcs8, pkg-config, plain, portable-atomic, portable-atomic-util, powerfmt, ppv-lite86, predicates, predicates-core, predicates-tree, pretty_assertions, proc-macro-crate, proc-macro2, proc-macro2-diagnostics, quinn, quinn-proto, quinn-udp, quote, rand, rand, rand, rand_chacha, rand_chacha, rand_core, rand_core, rand_core, rand_pcg, rayon, rayon-core, ref-cast, ref-cast-impl, regex, regex-automata, regex-syntax, relative-path, reqwest, ringbuf, rsa, rstest, rstest_macros, rustc-hash, rustc_version, rustls-pki-types, rustls-platform-verifier, rustls-platform-verifier-android, rustversion, scopeguard, secrecy, security-framework, security-framework-sys, semver, serde, serde_bytes, serde_core, serde_derive, serde_json, serde_path_to_error, serde_repr, serde_spanned, serde_spanned, serde_urlencoded, serde_with, serde_with_macros, sha1, sha1, sha2, sha2, shlex, signal-hook-registry, signature, simd_cesu8, simdutf8, siphasher, smallvec, socket2, spki, sqlx, sqlx-core, sqlx-macros, sqlx-macros-core, sqlx-mysql, sqlx-postgres, sqlx-sqlite, stable_deref_trait, static_assertions, stringprep, structmeta, structmeta-derive, syn, syn, system-configuration, system-configuration-sys, tdyne-peer-id, tdyne-peer-id-registry, tempfile, testcontainers, thiserror, thiserror, thiserror-impl, thiserror-impl, thread_local, time, time-core, time-macros, tinytemplate, tokio-rustls, toml, toml, toml_datetime, toml_datetime, toml_datetime, toml_edit, toml_edit, toml_parser, toml_write, toml_writer, typenum, ucd-trie, uncased, unicase, unicode-bidi, unicode-normalization, unicode-properties, unicode-segmentation, unicode-xid, url, utf8_iter, utf8parse, uuid, vcpkg, version_check, wasm-bindgen, wasm-bindgen-futures, wasm-bindgen-macro, wasm-bindgen-macro-support, wasm-bindgen-shared, web-sys, web-time, winapi, winapi-i686-pc-windows-gnu, winapi-x86_64-pc-windows-gnu, windows-core, windows-implement, windows-interface, windows-link, windows-registry, windows-result, windows-strings, windows-sys, windows-sys, windows-sys, windows-targets, windows-targets, windows_aarch64_gnullvm, windows_aarch64_gnullvm, windows_aarch64_msvc, windows_aarch64_msvc, windows_i686_gnu, windows_i686_gnu, windows_i686_gnullvm, windows_i686_msvc, windows_i686_msvc, windows_x86_64_gnu, windows_x86_64_gnu, windows_x86_64_gnullvm, windows_x86_64_gnullvm, windows_x86_64_msvc, windows_x86_64_msvc, xattr, yansi, zeroize, zstd-safe, zstd-sys
    Apache-2.0 OR MIT OR Zlib (5): bytemuck, lru-slab, miniz_oxide, tinyvec, tinyvec_macros
    BSD-3-Clause (3): alloc-no-stdlib, alloc-stdlib, subtle
    BSD-3-Clause AND MIT (2): brotli, matchit
    BSD-3-Clause OR MIT (1): brotli-decompressor
    CDLA-Permissive-2.0 (1): webpki-root-certs
    GPL-2.0 (1): bloom
    ISC (3): forwarded-header-value, rustls-webpki, untrusted
    LGPL-3.0 (3): openmetrics-parser, torrust-tracker-client-lib, torrust-tracker-rest-api-client
    MIT (88): async-stream, async-stream-impl, atoi, auto_ops, axum, axum-client-ip, axum-core, axum-extra, axum-macros, axum-server, binascii, bytes, castaway, cfg_aliases, combine, compact_str, convert_case, crunchy, darling, darling_core, darling_macro, derive_more, derive_more-impl, dotenvy, downcast, fs_extra, generic-array, h2, http-body, http-body-util, hyper, hyper-util, hyperlocal, is-terminal, libm, libredox, libsqlite3-sys, mime_guess, mio, nonempty, nu-ansi-term, oorandom, openssl-sys, phf, phf_codegen, phf_generator, phf_shared, plotters, plotters-backend, plotters-svg, redox_syscall, redox_syscall, schannel, schemars, schemars, serde_bencode, serde_html_form, sharded-slab, simd-adler32, slab, spin, strsim, synstructure, termtree, tokio, tokio-macros, tokio-stream, tokio-util, tonic, tonic-prost, tower, tower-http, tower-http, tower-layer, tower-service, tracing, tracing-attributes, tracing-core, tracing-log, tracing-serde, tracing-subscriber, try-lock, valuable, want, winnow, winnow, zmij, zstd
    MIT OR Unlicense (13): aho-corasick, byteorder, jiff, jiff-core, jiff-static, jiff-tzdb, jiff-tzdb-platform, memchr, quickcheck, quickcheck_macros, same-file, walkdir, winapi-util
    Unicode-3.0 (18): icu_collections, icu_locale_core, icu_normalizer, icu_normalizer_data, icu_properties, icu_properties_data, icu_provider, litemap, potential_utf, tinystr, writeable, yoke, yoke-derive, zerofrom, zerofrom-derive, zerotrie, zerovec, zerovec-derive
    Zlib (1): foldhash
    
  8. self-assigned this
    on Aug 28, 2026
  9. added a commit that references this issue on Aug 28, 2026
  10. added a commit that references this issue on Sep 15, 2026
  11. added 2 commits that reference this issue on Oct 21, 2026
  12. added a commit that references this issue on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

- Contributor -LegalNeeds Research

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions