From 54edb415103e203b576b593fbb59e780156065d4 Mon Sep 17 00:00:00 2001 From: Aaro Altonen Date: Fri, 21 Jan 2022 07:54:19 +0200 Subject: [PATCH] Allow webpki and ring in deny.toml --- deny.toml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/deny.toml b/deny.toml index 048cd85d48..a1f2ac2a42 100644 --- a/deny.toml +++ b/deny.toml @@ -16,6 +16,7 @@ skip = [{name = "quick-error"}, {name = "rand"}, {name = "getrandom"}, {name = "byteorder"}, + {name = "webpki"}, ] [licenses] @@ -31,9 +32,25 @@ allow = [ "MPL-2.0", "CC0-1.0", "Zlib", + "LicenseRef-ring", + "LicenseRef-webpki", "Unlicense",#this is a specific license rather than no license at all ] #deny a license not in this set of licenses +[[licenses.clarify]] +name = "ring" +expression = "LicenseRef-ring" +license-files = [ + { path = "LICENSE", hash = 0xbd0eed23 }, +] + +[[licenses.clarify]] +name = "webpki" +expression = "LicenseRef-webpki" +license-files = [ + { path = "LICENSE", hash = 0x001c7e6c }, +] + [advisories] db-path = "~/.cargo/advisory-dbs" db-urls = [ "https://github.com/RustSec/advisory-db" ]