Skip to content

What dependency uses MIT-0? #1958

Closed Answered by EliahKagan
EliahKagan asked this question in Q&A
Discussion options

You must be logged in to vote

I looked further and found that It's one of three license options for dunce, which is a direct dependency of gix-discover and thus a transitive dependency of various other crates (including the gitoxide crate):

$ cargo quickinstall cargo-license
...
$ cargo license | grep -F MIT-0
Apache-2.0 OR CC0-1.0 OR MIT-0 (1): dunce
$ git grep -Fwn dunce -- **/Cargo.toml
gix-discover/Cargo.toml:28:dunce = "1.0.3"

This raises the question of when we should allowlist a license. For example, we are not currently allowlisting CC0-1.0:

$ tomlq .licenses.allow deny.toml
[
  "Apache-2.0",
  "BSD-3-Clause",
  "BSL-1.0",
  "MIT",
  "MIT-0",
  "ISC",
  "OpenSSL",
  "Zlib",
  "MPL-2.0",
  "Unicode-3.0"
]

(…

Replies: 1 comment 1 reply

Comment options

EliahKagan
Apr 15, 2025
Collaborator Author

You must be logged in to vote
1 reply
@EliahKagan
Comment options

EliahKagan Apr 15, 2025
Collaborator Author

Answer selected by EliahKagan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant