Skip to content

Commit caa7e59

Browse files
committed
chore: update ring version
This now allows building with ring for more target architectures.
1 parent 2bc2b8d commit caa7e59

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Cargo.toml

+2-4
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ log = "0.4"
2424
thiserror = "1.0"
2525

2626
[dependencies.ring]
27-
version = "0.16"
27+
version = "0.17"
2828
optional = true
2929

3030
[target.'cfg(target_arch = "wasm32")'.dependencies]
31-
ring = { version = "0.16", features = ["wasm32_c"], optional = true }
31+
ring = { version = "0.17", features = ["wasm32_unknown_unknown_js"], optional = true }
3232

3333
[dependencies.openssl]
3434
version = "0.10"
@@ -48,8 +48,6 @@ strum_macros = "0.25"
4848

4949
[features]
5050
default = ["ring"]
51-
openssl = ["dep:openssl"]
52-
ring = ["dep:ring"]
5351

5452
[[bench]]
5553
name = "bench_main"

0 commit comments

Comments
 (0)