Skip to content

Commit

Permalink
Merge pull request #389 from sigstore/dependabot/cargo/tough-0.18.0
Browse files Browse the repository at this point in the history
build(deps): update tough requirement from 0.17.1 to 0.18.0
  • Loading branch information
flavio authored Sep 10, 2024
2 parents ec41486 + d80b800 commit f8f7b03
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ full-native-tls = [
"rekor-native-tls",
"cosign-native-tls",
"mock-client-native-tls",
"sigstore-trust-root-native-tls",
]
full-rustls-tls = [
"fulcio-rustls-tls",
"rekor-rustls-tls",
"cosign-rustls-tls",
"mock-client-rustls-tls",
"sigstore-trust-root-rustls-tls",
]

# This features is used by tests that use docker to create a registry
Expand All @@ -51,9 +53,18 @@ sigstore-trust-root = [
"sigstore_protobuf_specs",
"futures-util",
"tough",
"reqwest_0_11",
"regex",
"tokio/sync",
]
sigstore-trust-root-native-tls = [
"reqwest_0_11/native-tls",
"sigstore-trust-root",
]
sigstore-trust-root-rustls-tls = [
"reqwest_0_11/rustls-tls",
"sigstore-trust-root",
]

cosign-native-tls = [
"oci-distribution/native-tls",
Expand Down Expand Up @@ -121,6 +132,11 @@ reqwest = { version = "0.12", default-features = false, features = [
"json",
"multipart",
], optional = true }
# We have to include this old version of reqwest because tough is currently using it.
# By including it, we can configure which TLS backend it's going to use, otherwise fetching the
# TUF sigstore repository will fail at runtime because the old version of reqwest
# will be compiled withtout TLS support.
reqwest_0_11 = { package = "reqwest", version = "0.11", default-features = false, optional = true }
rsa = "0.9.2"
scrypt = "0.11.0"
serde = { version = "1.0.136", features = ["derive"] }
Expand All @@ -135,7 +151,7 @@ sigstore_protobuf_specs = { version = "0.3.2", optional = true }
thiserror = "1.0.30"
tokio = { version = "1.17.0", features = ["rt"] }
tokio-util = { version = "0.7.10", features = ["io-util"] }
tough = { version = "0.17.1", features = ["http"], optional = true }
tough = { version = "0.18.0", features = ["http"], optional = true }
tracing = "0.1.31"
url = "2.2.2"
x509-cert = { version = "0.2.5", features = ["builder", "pem", "std", "sct"] }
Expand Down

0 comments on commit f8f7b03

Please sign in to comment.