-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
92 lines (76 loc) · 2.06 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[package]
name = "tss-wasm"
version = "0.0.1"
edition = "2021"
authors = ["Omer <[email protected]>", "Eigen Labs <[email protected]>"]
description = "WASM/HW-friendly lightweight client application for threshold ECDSA"
homepage = "https://github.com/0xEigenLabs"
repository = "https://github.com/0xEigenLabs/tss-wasm"
license = "GPL-3.0-or-later"
[lib]
crate-type = ["cdylib", "lib"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rand = "0.6.5"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { version = "0.2.51", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.1"
rand = { version = "0.6.5", features = ["wasm-bindgen"] }
[dependencies]
#serde = "1.0"
serde = { version = "1.0.101", features = ["derive"] }
serde_derive = "1.0"
serde_json = "1.0"
num-bigint = { version = "0.2.2", features = ["serde", "rand"] }
num-integer = "0.1"
num-traits = "0.2.6"
bit-vec = "0.5"
cryptoxide = "0.1.1"
zeroize = "1.0"
libsecp256k1 = "0.3.2"
reqwest = { version = "0.11.11", features = ["json"] }
aes-gcm = "0.9.4"
sha2 = "0.9"
sha3 = "0.10.6"
hex = "0.4"
lazy_static = "1.4"
hmac = "0.11"
digest = "0.9"
typenum = "1.13"
generic-array = "0.14"
js-sys = "0.3.59"
tiny-keccak = { version = "2.0.1", features = ["keccak"] }
log = "0.4.17"
thiserror = "1.0"
[dependencies.web-sys]
version = "0.3.4"
features = [
'Headers',
'Request',
'RequestInit',
'RequestMode',
'Response',
'Window',
]
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = "0.2"
rocket = { version = "0.5.0-rc.1", default-features = false, features = [
"json",
] }
uuid = { version = "0.8", features = ["v4"] }
tokio = { version = "1", default-features = false, features = ["macros"] }
rocket_cors = { git = "https://github.com/lawliet89/rocket_cors", branch = "master" }
[[example]]
name = "gg18_sm_manager"
[[bench]]
name = "keygen"
path = "tests/keygen.rs"
harness = false
[[bench]]
name = "sign"
path = "tests/sign.rs"
harness = false
[features]
default = []
bench = []