-
Notifications
You must be signed in to change notification settings - Fork 173
Pluggable Crypto / Update reqwest 0.13 #707
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
base: main
Are you sure you want to change the base?
Changes from all commits
2c4dcd8
831b6b0
e78d4b3
03c4ba0
6fd9a42
bf8acf7
778435a
8b0d429
8bcfb65
51969a8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,8 +55,9 @@ hyper = { version = "1.2", default-features = false, optional = true } | |
| md-5 = { version = "0.11.0", default-features = false, optional = true } | ||
| quick-xml = { version = "0.39.0", features = ["serialize", "overlapped-lists"], optional = true } | ||
| rand = { version = "0.10", default-features = false, features = ["std", "std_rng", "thread_rng"], optional = true } | ||
| reqwest = { version = "0.12", default-features = false, features = ["rustls-tls-native-roots", "http2"], optional = true } | ||
| reqwest = { version = "0.13", default-features = false, features = ["http2"], optional = true } | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can I request we make a separate PR to upgrade the version of That way we won't tie the fate of that upgrade to the pluggable crypto stuff (and it will maek the PR easier / faster to review)
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unfortunately the reqwest upgrade ends up tied to this, because there were changes to the way reqwest handles encryption |
||
| ring = { version = "0.17", default-features = false, features = ["std"], optional = true } | ||
| aws-lc-rs = { version = "1.15", default-features = false, optional = true } | ||
| rustls-pki-types = { version = "1.9", default-features = false, features = ["std"], optional = true } | ||
| serde = { version = "1.0", default-features = false, features = ["derive"], optional = true } | ||
| serde_json = { version = "1.0", default-features = false, features = ["std"], optional = true } | ||
|
|
@@ -82,13 +83,26 @@ futures-channel = {version = "0.3", features = ["sink"]} | |
|
|
||
| [features] | ||
| default = ["fs"] | ||
| cloud = ["serde", "serde_json", "quick-xml", "hyper", "reqwest", "reqwest/stream", "chrono/serde", "base64", "rand", "ring", "http-body-util", "form_urlencoded", "serde_urlencoded", "tokio"] | ||
| azure = ["cloud", "httparse"] | ||
| cloud-no-crypto = ["serde", "serde_json", "quick-xml", "hyper", "reqwest", "reqwest/stream", "chrono/serde", "base64", "rand","http-body-util", "form_urlencoded", "serde_urlencoded", "tokio"] | ||
| cloud = ["aws-lc-rs", "reqwest/rustls", "cloud-no-crypto"] | ||
|
|
||
| aws-lc-rs = ["dep:aws-lc-rs", "rustls-pki-types"] | ||
| ring = ["dep:ring", "rustls-pki-types"] | ||
|
|
||
| azure-no-crypto = ["cloud-no-crypto", "httparse"] | ||
| azure = ["cloud", "azure-no-crypto"] | ||
|
|
||
| fs = ["walkdir", "tokio", "nix", "windows-sys"] | ||
| gcp = ["cloud", "rustls-pki-types"] | ||
| aws = ["cloud", "crc-fast", "md-5"] | ||
| http = ["cloud"] | ||
| tls-webpki-roots = ["reqwest?/rustls-tls-webpki-roots"] | ||
|
|
||
| gcp-no-crypto = ["cloud-no-crypto"] | ||
| gcp = ["cloud", "gcp-no-crypto"] | ||
|
|
||
| aws-no-crypto = ["cloud-no-crypto", "crc-fast", "md-5"] | ||
| aws = ["cloud", "aws-no-crypto"] | ||
|
|
||
| http-no-crypto = ["cloud-no-crypto"] | ||
| http = ["cloud", "http-no-crypto"] | ||
|
|
||
| integration = ["rand", "tokio"] | ||
| tokio = ["dep:tokio", "dep:tracing"] | ||
|
|
||
|
|
@@ -99,8 +113,9 @@ hyper-util = "0.1" | |
| rand = "0.10" | ||
| tempfile = "3.1.0" | ||
| regex = "1.11.1" | ||
| webpki-root-certs = "1" | ||
| # The "gzip" feature for reqwest is enabled for an integration test. | ||
| reqwest = { version = "0.12", default-features = false, features = ["gzip"] } | ||
| reqwest = { version = "0.13", default-features = false, features = ["gzip"] } | ||
|
|
||
| [target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies] | ||
| wasm-bindgen-test = "0.3.50" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this test should also add aws-lc-rs?