From 321f3a70be215db6fdecfa621fa45a16ee5b2aec Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Mon, 8 Jan 2024 14:23:47 -0800 Subject: [PATCH] Reworking bssl_crypto: bump version and fix license. Given all the previous changes, the version should be bumped. Also the license was wrong: new code in BoringSSL is ISC licensed and the license at the top of the Rust files is the ISC license. Change-Id: If8a5baa5b631145f85ec85b430dbfe8ffd2044bf Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/65181 Reviewed-by: Bob Beck --- rust/bssl-crypto/Cargo.toml | 4 ++-- rust/bssl-crypto/deny.toml | 4 ++-- rust/bssl-sys/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rust/bssl-crypto/Cargo.toml b/rust/bssl-crypto/Cargo.toml index 315c35b88..755da8c3e 100644 --- a/rust/bssl-crypto/Cargo.toml +++ b/rust/bssl-crypto/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "bssl-crypto" -version = "0.1.0" +version = "0.2.0" edition = "2021" publish = false -license = "MIT" +license = "ISC" [dependencies] bssl-sys = {path = "../bssl-sys"} diff --git a/rust/bssl-crypto/deny.toml b/rust/bssl-crypto/deny.toml index cb3f34516..b97bb4c9b 100644 --- a/rust/bssl-crypto/deny.toml +++ b/rust/bssl-crypto/deny.toml @@ -76,7 +76,7 @@ unlicensed = "deny" # See https://spdx.org/licenses/ for list of possible licenses # [possible values: any SPDX 3.11 short identifier (+ optional exception)]. allow = [ - "MIT", + "ISC", ] # List of explicitly disallowed licenses # See https://spdx.org/licenses/ for list of possible licenses @@ -164,7 +164,7 @@ highlight = "all" # encouraged not to add dependencies here. allow = [ # bssl-crypto should be allowed, version appropriately. - { name = "bssl-crypto", version = "=0.1.0" }, + { name = "bssl-crypto", version = "=0.2.0" }, # bssl-sys should be allowed, version appropriately. { name = "bssl-sys", version = "=0.1.0" }, ] diff --git a/rust/bssl-sys/Cargo.toml b/rust/bssl-sys/Cargo.toml index b01979a3a..76087e562 100644 --- a/rust/bssl-sys/Cargo.toml +++ b/rust/bssl-sys/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" authors = ["Benjamin Brittain "] edition = "2018" publish = false -license = "MIT" +license = "ISC" # This exists to workaround a limitation in cargo: # https://github.com/rust-lang/cargo/issues/3544