Skip to content

Commit

Permalink
core: expose tls features, ring is new default
Browse files Browse the repository at this point in the history
  • Loading branch information
kingosticks committed Oct 29, 2024
1 parent e3a62b0 commit 24bbc63
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ hyper = { version = "1.3", features = ["http1", "http2"] }
hyper-util = { version = "0.1", features = ["client"] }
http-body-util = "0.1.1"
hyper-proxy2 = { version = "0.1", default-features = false, features = ["rustls"] }
hyper-rustls = { version = "0.27.2", features = ["http2"] }
hyper-rustls = { version = "0.27.2", default-features = false, features = ["http1", "http2", "native-tokio", "tls12"] }
log = "0.4"
nonzero_ext = "0.3"
num-bigint = { version = "0.4", features = ["rand"] }
Expand Down Expand Up @@ -70,3 +70,8 @@ vergen-gitcl = { version = "1.0.0", default-features = false, features = ["build

[dev-dependencies]
tokio = { version = "1", features = ["macros", "parking_lot"] }

[features]
with-aws-lc-rs = ["hyper-rustls/aws-lc-rs"]
with-ring = ["hyper-rustls/ring"]
default = ["with-ring"]

0 comments on commit 24bbc63

Please sign in to comment.