add ClientBuilder.default_headers() for wasm32 target (#1084)

This commit is contained in:
stevelr
2020-11-16 21:09:47 +00:00
committed by GitHub
parent 2dec3b725f
commit 4fe07d81cf
12 changed files with 210 additions and 16 deletions

View File

@@ -132,6 +132,7 @@ winreg = "0.7"
js-sys = "0.3.45"
wasm-bindgen = { version = "0.2.68", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.18"
wasm-bindgen-test = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3.25"
@@ -168,6 +169,14 @@ name = "tor_socks"
path = "examples/tor_socks.rs"
required-features = ["socks"]
[[example]]
name = "form"
path = "examples/form.rs"
[[example]]
name = "simple"
path = "examples/simple.rs"
[[test]]
name = "blocking"
path = "tests/blocking.rs"