forked from serenity-kit/opaque
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (33 loc) · 912 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "opaque"
version = "0.8.0"
authors = [
"Stefan Oestreicher <[email protected]>",
"Nik Graf <[email protected]>",
]
edition = "2018"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = []
p256 = ["dep:p256"]
[dependencies]
wasm-bindgen = { version = "0.2.90", features = ["serde-serialize"] }
opaque-ke = { version = "3.0.0-pre.4", features = ["argon2"] }
rand = { version = "0.8.5" }
getrandom = { version = "0.2.12", features = ["js", "wasm-bindgen"] }
argon2 = "0.5"
p256 = { version = "0.13", default-features = false, features = [
"hash2curve",
"voprf",
], optional = true }
base64 = "0.21.7"
serde = { version = "1.0.169", features = ["derive"] }
serde-wasm-bindgen = "0.6.3"
tsify = { version = "0.4.5", features = ["js"] }
js-sys = "0.3.67"
[dev-dependencies]
wasm-bindgen-test = "0.3.40"
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"