-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathCargo.toml
70 lines (62 loc) · 1.43 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
[package]
name = "bsv"
version = "2.1.1"
authors = ["Firaenix <[email protected]>"]
edition = "2021"
description = "A Bitcoin stdlib"
repository = "https://github.com/Firaenix/bsv-wasm"
license = "MIT"
categories = ["api-bindings", "cryptography::cryptocurrencies", "network-programming", "wasm"]
keywords = ["bitcoin", "bsv", "blockchain", "bitcoin-cash"]
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
k256 = { version = "0.10.2", features = [
"ecdsa",
"ecdh",
"digest",
"arithmetic",
"sha256",
] }
ecdsa = { version = "0.13.4", features = ["sign"] }
elliptic-curve = { version = "0.11.12", features = ["dev", "ecdh"] }
hex = "^0.4"
bs58 = "^0.4.0"
thiserror = "^1.0"
byteorder = "^1.4.3"
serde = { version = "^1.0", default-features = false, features = [
"alloc",
"derive",
] }
serde_json = "^1.0"
ciborium = "0.2.0"
strum = "0.23.0"
strum_macros = "^0.23.1"
num-traits = "^0.2"
num-derive = "^0.3"
aes = { version = "^0.7.4", features = ["ctr"] }
block-modes = "^0.8.1"
pbkdf2 = "^0.8.0"
sha-1 = "^0.9.6"
sha2 = "^0.9.5"
hmac = "^0.11.0"
ripemd160 = "^0.9.1"
digest = "^0.9.0"
num-bigint = "0.4"
[dependencies.rand_core]
version = "^0.6"
features = ["getrandom"]
[dependencies.getrandom]
version = "^0.2"
# features = ["js"]
[dev-dependencies]
# wasm-bindgen-test = "^0.3"
rayon = "1.5"
[build]
rustflags = ["-C", "target-feature=+simd128"]
[profile.release]
opt-level = 3
lto = true
[profile.test]
opt-level = 3
debug = false