-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat(tls): AWS Libcrypto Support #2008
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
Changes from 25 commits
5754971
9bb7ab0
645d6dc
4cd649b
3fe5c26
843c6c1
6bb3a9c
da565a0
0185ddb
065faf4
3dfae60
a01b67e
c9c833c
f7b4000
91f6f3b
ea4b2c3
423e84d
649d12d
00f31fc
033f221
1c73ca4
121fda7
6411c3c
43b4214
0176510
e8d2de6
e8dd0f1
c2c736b
b7afdbf
8daf349
2e32fdd
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 |
|---|---|---|
|
|
@@ -28,10 +28,13 @@ gzip = ["dep:flate2"] | |
| zstd = ["dep:zstd"] | ||
| default = ["transport", "codegen", "prost"] | ||
| prost = ["dep:prost"] | ||
| tls = ["dep:rustls-pemfile", "dep:tokio-rustls", "dep:tokio", "tokio?/rt", "tokio?/macros"] | ||
| _tls-any = ["dep:rustls-pemfile", "dep:tokio-rustls", "dep:tokio", "tokio?/rt", "tokio?/macros"] # Internal. Please choose on of `tls-ring` or `tls-aws-lc` | ||
| tls = ["tls-ring"] # Deprecated. Please use `tls-ring` or `tls-aws-lc` instead. | ||
| tls-ring = ["_tls-any", "tokio-rustls/ring"] | ||
| tls-aws-lc = ["_tls-any", "tokio-rustls/aws-lc-rs"] | ||
| tls-roots = ["tls-native-roots"] # Deprecated. Please use `tls-native-roots` instead. | ||
| tls-native-roots = ["tls", "channel", "dep:rustls-native-certs"] | ||
| tls-webpki-roots = ["tls", "channel", "dep:webpki-roots"] | ||
| tls-native-roots = ["_tls-any", "channel", "dep:rustls-native-certs"] | ||
| tls-webpki-roots = ["_tls-any","channel", "dep:webpki-roots"] | ||
|
Comment on lines
+36
to
+37
Collaborator
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. Just thinking out loud: it strikes me as unfortunate that this the implication here is that because you would only need to access the certificate trust store for doing client things, that we should also enable the Like in my mind, it would somehow be nicer if this was Anyways, just thinking out loud. None of this is blocking or needs a response. :)
Collaborator
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. I think this is a good idea. However, since the scope is different from this pull request, I think it would be good to discuss it in a separate pull request rather than changing them here. |
||
| router = ["dep:axum", "dep:tower", "tower?/util"] | ||
| server = [ | ||
| "router", | ||
|
|
@@ -90,7 +93,7 @@ axum = {version = "0.7", default-features = false, optional = true} | |
| # rustls | ||
| rustls-pemfile = { version = "2.0", optional = true } | ||
| rustls-native-certs = { version = "0.8", optional = true } | ||
| tokio-rustls = { version = "0.26", default-features = false, features = ["logging", "tls12", "ring"], optional = true } | ||
| tokio-rustls = { version = "0.26", default-features = false, features = ["logging", "tls12"], optional = true } | ||
| webpki-roots = { version = "0.26", optional = true } | ||
|
|
||
| # compression | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.