Skip to content

Commit 67e4d10

Browse files
authored
Merge pull request #3564 from spinframework/fix-compilation-error
2 parents 371d92e + 64d13b2 commit 67e4d10

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/oci/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ chrono = { workspace = true }
1212
dirs = { workspace = true }
1313
docker_credential = "1"
1414
docker-registry = { version = "0.9", default-features = false }
15+
# Force a TLS feature on docker-registry's reqwest 0.13. Building `-p spin-oci` in
16+
# isolation doesn't pull in `oci-client` (which is what activates `reqwest/native-tls`
17+
# on 0.13 during a workspace build), so without this docker-registry fails to compile
18+
# because items it uses are gated behind reqwest's `__tls` cfg.
19+
reqwest_0_13 = { package = "reqwest", version = "0.13", default-features = false, features = ["native-tls"] }
1520
flate2 = { workspace = true }
1621
futures-util = { workspace = true }
1722
itertools = { workspace = true }

0 commit comments

Comments
 (0)