Skip to content

Commit

Permalink
Add rustls-tls support for wasm-bindgen-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Jul 7, 2023
1 parent e13d898 commit 8e3e22f
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ default-run = 'wasm-bindgen'
rust-version = "1.56"

[dependencies]
curl = "0.4.13"
curl = { version = "0.4.44", default-features = false }
docopt = "1.0"
env_logger = "0.8"
anyhow = "1.0"
Expand Down Expand Up @@ -44,4 +44,15 @@ name = "reference"
harness = false

[features]
vendored-openssl = ['openssl/vendored']
default = ["native-tls"]

default-tls = ["curl/ssl"] # OpenSSL/system TLS backend

rustls-tls = ["curl/rustls"]

# Enables native-tls specific functionality not available by default.
native-tls = ["curl/ssl"]
native-tls-vendored = ["native-tls", "openssl/vendored"]

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

0 comments on commit 8e3e22f

Please sign in to comment.