Content-Length: 268242 | pFad | http://github.com/XAMPPRocky/octocrab/pull/709/commits/f2fd3a434d8cb8085bb9cfb9fce80e5ef3755129

A9 fix: rustls hard-dependency by benpueschel · Pull Request #709 · XAMPPRocky/octocrab · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rustls hard-dependency #709

Merged
merged 2 commits into from
Oct 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: remove aws-lc-sys hard-dependency
Remove hard-dependency on `aws-lc-sys` by adding two new features:
`rustls-ring` and `rustls-aws-lc-rs`.

By default, `rustls-aws-lc-rs` is enabled (which is also a default
feature for `hyper-rustls`), but the dependency on aws-lc-rs can be
overriden by consumers of the library.

Refs: #706
  • Loading branch information
benpueschel committed Oct 6, 2024
commit f2fd3a434d8cb8085bb9cfb9fce80e5ef3755129
11 changes: 9 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ http = "1.0.0"
http-body = "1.0.0"
http-body-util = "0.1.0"
hyper = "1.1.0"
hyper-rustls = { version = "0.27.0", optional = true }
hyper-rustls = { version = "0.27.0", optional = true, default-features = false, features = [
"http1",
"logging",
"native-tokio",
"tls12",
]}
hyper-timeout = { version = "0.5.1", optional = true }
hyper-tls = { version = "0.6.0", optional = true }
hyper-util = { version = "0.1.3", features = ["http1"] }
Expand Down Expand Up @@ -71,11 +76,13 @@ pretty_assertions = "1.4.0"
graphql_client = "0.14.0"

[features]
default = ["follow-redirect", "retry", "rustls", "timeout", "tracing", "default-client"]
default = ["follow-redirect", "retry", "rustls", "timeout", "tracing", "default-client", "rustls-aws-lc-rs"]

follow-redirect = ["tower-http/follow-redirect"]
retry = ["tower/retry", "futures-util"]
rustls = ["hyper-rustls"]
rustls-ring = ["hyper-rustls/ring"]
rustls-aws-lc-rs = ["hyper-rustls/aws-lc-rs"]
rustls-webpki-tokio = ["hyper-rustls/webpki-tokio"]
opentls = ["hyper-tls"]
stream = ["futures-core", "futures-util"]
Expand Down
Loading








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/XAMPPRocky/octocrab/pull/709/commits/f2fd3a434d8cb8085bb9cfb9fce80e5ef3755129

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy