Skip to content

Commit 2775180

Browse files
Merge pull request #156 from thomastaylor312/chore/version_bump
chore(*): Bumps crate version and some dependencies
2 parents 598d20f + b364d85 commit 2775180

File tree

3 files changed

+26
-39
lines changed

3 files changed

+26
-39
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ jobs:
5151
- bans licenses sources
5252
steps:
5353
- uses: actions/checkout@v4.1.7
54-
- uses: EmbarkStudios/cargo-deny-action@v1
54+
- uses: EmbarkStudios/cargo-deny-action@v2
5555
with:
5656
command: check ${{ matrix.checks }}

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ license = "Apache-2.0"
1717
name = "oci-client"
1818
readme = "README.md"
1919
repository = "https://github.com/oras-project/rust-oci-client"
20-
version = "0.11.0"
20+
version = "0.12.0"
2121

2222
[badges]
2323
maintenance = { status = "actively-developed" }
@@ -65,6 +65,8 @@ hmac = "0.12"
6565
itertools = "0.13.0"
6666
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
6767
tempfile = "3.3"
68+
# This should stay pinned here until testcontainers makes sure all of its deps using rustls are
69+
# using the ring feature. Otherwise this fails to compile on Windows
6870
testcontainers = "0.20"
6971
tokio = { version = "1.21", features = ["macros", "fs", "rt-multi-thread"] }
7072
tokio-util = { version = "0.7.4", features = ["compat"] }

deny.toml

Lines changed: 22 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,43 @@
11
[advisories]
2-
ignore = [
3-
# a chrono issue, this is just a test dependency
4-
"RUSTSEC-2020-0071",
5-
]
62

73
[licenses]
4+
version = 2
85
confidence-threshold = 1.0
9-
copyleft = "deny"
10-
unlicensed = "deny"
11-
allow-osi-fsf-free = "both"
12-
default = "deny"
136

147
# List of explictly allowed licenses
158
# See https://spdx.org/licenses/ for list of possible licenses
169
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
1710
allow = [
18-
"LicenseRef-ring",
19-
"LicenseRef-rustls-webpki",
20-
"MPL-2.0",
2111
"Unicode-DFS-2016",
22-
"Unicode-3.0"
12+
"Apache-2.0",
13+
"BSD-3-Clause",
14+
"ISC",
15+
"MIT",
16+
"MPL-2.0",
2317
]
2418

25-
deny = [
26-
"AGPL-3.0",
27-
"WTFPL",
28-
]
29-
30-
[[licenses.clarify]]
31-
name = "ring"
32-
expression = "LicenseRef-ring"
33-
license-files = [
34-
{ path = "LICENSE", hash = 0xbd0eed23 },
35-
]
36-
37-
[[licenses.clarify]]
38-
name = "rustls-webpki"
39-
expression = "LicenseRef-rustls-webpki"
40-
license-files = [
41-
{ path = "LICENSE", hash = 0x001c7e6c },
19+
exceptions = [
20+
# Ring has a...complicated license. However, since it is at the core of a large number of rust
21+
# projects, we are manually allowing the OpenSSL part of the license
22+
{ name = "ring", allow = [
23+
"OpenSSL",
24+
] },
25+
# same exception as above for another crate
26+
{ name = "aws-lc-sys", allow = [
27+
"OpenSSL",
28+
] },
4229
]
4330

4431
[[licenses.clarify]]
4532
name = "encoding_rs"
4633
version = "*"
4734
expression = "(Apache-2.0 OR MIT) AND BSD-3-Clause"
48-
license-files = [
49-
{ path = "COPYRIGHT", hash = 0x39f8ad31 }
50-
]
35+
license-files = [{ path = "COPYRIGHT", hash = 0x39f8ad31 }]
36+
37+
[[licenses.clarify]]
38+
name = "ring"
39+
expression = "MIT AND ISC AND OpenSSL"
40+
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
5141

5242
[bans]
5343
multiple-versions = "allow"
54-
skip = [
55-
]
56-
57-
skip-tree = [
58-
]

0 commit comments

Comments
 (0)