tisonkun commented on code in PR #6812:
URL: https://github.com/apache/opendal/pull/6812#discussion_r2553199697
##########
deny.toml:
##########
@@ -22,26 +22,29 @@ allow = [
"BSD-2-Clause",
"BSD-3-Clause",
"CC0-1.0",
- "CDLA-Permissive-2.0",
"ISC",
"MIT",
- "MPL-2.0",
- "MIT",
- "MPL-2.0",
"OpenSSL",
"Unicode-3.0",
- "Unicode-DFS-2016",
"Zlib",
]
exceptions = [
+ # cbindgen is used to generate C bindings; it is only a build dependency
+ # so it won't be included in the final library
+ { crate = "cbindgen", allow = ["MPL-2.0"] },
+
# malachite and its subcrates are introduced in the Python bindings
(pyo3-stub-gen)
# they are only used in proc-macro so they won't be included in the final
library
{ crate = "malachite", allow = ["LGPL-3.0"] },
{ crate = "malachite-base", allow = ["LGPL-3.0"] },
{ crate = "malachite-bigint", allow = ["LGPL-3.0"] },
{ crate = "malachite-nz", allow = ["LGPL-3.0"] },
{ crate = "malachite-q", allow = ["LGPL-3.0"] },
+
+ # open data licenses that SHOULD be OK
+ { crate = "unicode_names2", allow = ["Unicode-DFS-2016"] },
+ { crate = "webpki-roots", allow = ["CDLA-Permissive-2.0"] },
]
# this config file is used for all crates; some of them would not encounter
all the allowed licenses
Review Comment:
Add `unused-license-exception = "allow"` once
https://github.com/EmbarkStudios/cargo-deny/pull/807 merged and released.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]