Skip to content

Commit

Permalink
Merge pull request #146 from flavio/fix-building-with-rustls
Browse files Browse the repository at this point in the history
fix: rustls should not require openssl
  • Loading branch information
viccuad authored Oct 21, 2022
2 parents ef1121b + d3cc545 commit 42d45f4
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "sigstore"
description = "An experimental crate to interact with sigstore"
version = "0.5.2"
version = "0.5.3"
edition = "2018"
authors = [
"sigstore-rs developers",
Expand All @@ -11,8 +11,8 @@ readme = "README.md"

[features]
default = ["native-tls"]
native-tls = ["oci-distribution/native-tls", "openidconnect/native-tls"]
rustls-tls = ["oci-distribution/rustls-tls", "openidconnect/rustls-tls"]
native-tls = ["oci-distribution/native-tls", "openidconnect/native-tls", "reqwest/native-tls"]
rustls-tls = ["oci-distribution/rustls-tls", "openidconnect/rustls-tls", "reqwest/rustls-tls"]

[dependencies]
async-trait = "0.1.52"
Expand Down Expand Up @@ -50,6 +50,7 @@ ed25519 = { version = "1", features = [ "alloc" ] }
ed25519-dalek-fiat = "0.1.0"
rsa = "0.7.0"
pkcs1 = "0.4.0"
reqwest = { version = "0.11", default-features = false, features = ["json", "multipart"] }

[dev-dependencies]
anyhow = "1.0.54"
Expand All @@ -61,9 +62,6 @@ rstest = "0.15.0"
tempfile = "3.3.0"
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }

[dependencies.reqwest]
version = "^0.11"
features = ["json", "multipart"]

# cosign example mappings

Expand Down

0 comments on commit 42d45f4

Please sign in to comment.