Skip to content

Commit

Permalink
Move webpki and webpki-roots to the rustls_backend-feature (#688)
Browse files Browse the repository at this point in the history
The dependency `webpki` and `webpki-roots` were part of the `gateway`-feature, this caused `ring` to be needlessly pulled in. As a result, platforms — unable to build `ring` — were unable to build Serenity.
  • Loading branch information
llebout authored and Lakelezz committed Aug 18, 2019
1 parent 6f7797e commit 2439275
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,9 @@ gateway = [
"http",
"url",
"utils",
"webpki",
"webpki-roots",
]
http = []
rustls_backend = ["reqwest/rustls-tls", "tungstenite", "rustls"]
rustls_backend = ["reqwest/rustls-tls", "tungstenite", "rustls", "webpki", "webpki-roots"]
native_tls_backend = ["reqwest/default-tls", "tungstenite/tls"]
model = ["builder", "http"]
standard_framework = ["framework", "uwl", "command_attr"]
Expand Down

0 comments on commit 2439275

Please sign in to comment.