-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
67 lines (54 loc) · 1.5 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
[package]
name = "hacash"
version = "0.1.0"
edition = "2021"
[package.metadata.wasm-pack.profile.release]
wasm-opt = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
# [lib]
# name = "hacash_sdk"
# # version = "0.1.0"
# crate-type = ["staticlib", "cdylib"]
[build-dependencies]
cc = "1.0"
[dependencies]
libc = "0.2.4"
chrono = "0.4.38"
lazy_static = "1.4.0"
concat-idents = "1.1.5"
hex = "0.4.3"
base64 = "0.22.1"
base58check = "0.1.0"
num-traits = "0.2"
num-bigint = "0.4.3"
getrandom = { version = "0.2.14", features = ["js"] }
libsecp256k1 = "0.7.0"
ripemd = "0.1.1"
sha3 = "0.10.1"
sha2 = "0.10.2"
regex = "1.10.0"
ini = "1.3.0"
leveldb-sys = "2.0.9"
dyn-clone = "1.0.17"
http_req = "0.10.2"
tokio = { version = "1.37.0", features = ["rt", "rt-multi-thread", "sync", "time", "io-util", "net", "macros"] }
ctrlc = "3.4.4"
serde = "1.0.199"
serde_json = "1.0.116"
bytes = "1.6.0"
axum = "0.7.5"
spmc = "0.3.0"
termsize = "0.1.9"
reqwest = { version = "0.12.5", features = ["blocking"] }
# rocksdb = { version = "0.22.0", default-features = false, features = ["lz4"] }
# easy-http-request = "0.2.13"
# leveldb-sys = "2.0.9"
# rusty-leveldb = "3.0.0"
# leveldb = "0.8.6"
# wasm-bindgen = "0.2.87"
[profile.release]
opt-level = 3 # Optimize for size.
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary