-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
52 lines (38 loc) · 1.14 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
[package]
name = "vsss-wasm"
version = "0.2.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib"]
[dependencies]
wit-bindgen-rt = { version = "0.30.0", features = ["bitflags"] }
vsss-rs = { git = "https://github.com/zorvan/vsss-rs.git" , features = ["curve25519"]}
elliptic-curve = { version = "0.13", features = ["ecdh"] }
curve25519-dalek = { version = "4" }
#bls12_381_plus = "0.5.5"
#ed25519-dalek = "2.1"
#x25519-dalek = "2.1"
#k256 = { version = "0.11.6", features = ["arithmetic", "bits"] }
#p256 = { version = "0.11.1", features = ["arithmetic", "bits"] }
rand = "0.8.5"
rand_chacha = "0.3.1"
getrandom = { version = "0.2.15", features = ["js"]}
serde_bare = "0.5"
#serde_json = "1.0"
#serde_cbor = "0.11"
#hex = "0.4"
#console_error_panic_hook = { version = "0.1.6"}
[profile.release]
codegen-units = 1
opt-level = "s"
debug = false
strip = true
lto = true
[package.metadata]
wasm-opt = true
wasm-name-section = true
wasm-producers-section = true
[package.metadata.component]
package = "component:vsssworld"
[package.metadata.component.dependencies]