Skip to content

Commit

Permalink
try wasm target
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Dec 7, 2024
1 parent 3e9b11c commit b7aa5de
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,5 @@ pcap-parser = "0.16.0"
hex = "0.4"
ureq = { version = "2.12.1", default-features = false, features = ["tls","native-certs"] }

[target.wasm32-unknown-unknown.dependencies]
rustls = { version = "0.23.18", optional = true, default-features = false, features = ["ring", "std", "tls12"] }
ring = { version = "0.17.7", features = ["wasm32_unknown_unknown_js"] }

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
ring = { version = "0.17.8", features = ["wasm32_unknown_unknown_js"] }

0 comments on commit b7aa5de

Please sign in to comment.