-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
75 lines (68 loc) · 1.59 KB
/
Cargo.toml
File metadata and controls
75 lines (68 loc) · 1.59 KB
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
[package]
name = "hacash"
default-run = "hacash"
version = "0.4.0"
edition = "2024"
[workspace]
resolver = "2"
members = [
".",
"app",
"node",
"chain",
"server",
"mint",
"vm",
"sdk",
"testkit",
"protocol",
"basis",
"field",
"db",
"sys",
"x16rs",
]
exclude = [
"chainv1",
"chainv2",
"chainv3",
"chainv4",
"node2",
"node3",
"node5",
]
[dependencies]
x16rs = {path = "./x16rs"}
sys = {path = "./sys"}
field = {path = "./field"}
basis = {path = "./basis"}
db = {path = "./db", default-features = false}
protocol = {path = "./protocol"}
vm = {path = "./vm"}
chain = {path = "./chain"}
mint = {path = "./mint"}
server = {path = "./server"}
node = {path = "./node"}
app = {path = "./app"}
# server = {path = "./server"}
hex = "0.4.3"
serde_json = "1.0"
[dev-dependencies]
testkit = {path = "./testkit"}
[features]
default = ["db-sled"] #, "ocl"]
ocl = ["app/ocl"]
db-sled = ["db/db-sled"]
db-rusty-leveldb = ["db/db-rusty-leveldb"]
db-leveldb-sys = ["db/db-leveldb-sys"]
db-rocksdb = ["db/db-rocksdb"]
[profile.release]
debug = false # for RUST_BACKTRACE=1
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
[profile.wasm-release]
inherits = "release"
opt-level = "z" # Optimize wasm for code size