Skip to content

Commit

Permalink
Remove openssl dependency for cli (rustwasm#3511)
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Jul 10, 2023
1 parent 67a3c2f commit 219d4b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
[#3480](https://github.com/rustwasm/wasm-bindgen/pull/3480)

* Replaced `curl` with `ureq`. By default we now use Rustls instead of OpenSSL.
The `openssl` is now out of the dependencies in `wasm-bindgen-cli` crates, so that
the `vendored-openssl` feature is now out of supported features.
[#3511](https://github.com/rustwasm/wasm-bindgen/pull/3511)

### Fixed
Expand Down
13 changes: 6 additions & 7 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ docopt = "1.0"
env_logger = "0.8"
anyhow = "1.0"
log = "0.4"
openssl = { version = '0.10.11', optional = true }
rouille = { version = "3.0.0", default-features = false }
serde = { version = "1.0", features = ['derive'] }
serde_derive = "1.0"
serde_json = "1.0"
ureq = { version = "2.7", default-features = false, features = ["brotli", "gzip"] }
ureq = { version = "2.7", default-features = false, features = [
"brotli",
"gzip",
] }
walrus = { version = "0.19.0", features = ['parallel'] }
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.87" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.87" }
Expand All @@ -46,11 +48,8 @@ harness = false
[features]
default = ["rustls-tls"]

rustls-tls = ["ureq/tls"]

# Enables native-tls specific functionality not available by default.
native-tls = ["ureq/native-tls"]
native-tls-vendored = ["native-tls", "native-tls/vendored"]
rustls-tls = ["ureq/tls"] # ureq uses rustls by default.

# Legacy support
vendored-openssl = ['native-tls-vendored']
vendored-openssl = []

0 comments on commit 219d4b0

Please sign in to comment.