forked from hacash/fullnode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
39 lines (34 loc) · 1.05 KB
/
Cargo.toml
File metadata and controls
39 lines (34 loc) · 1.05 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
[package]
name = "hacash"
default-run = "hacash"
version = "0.3.0"
edition = "2024"
[dependencies]
x16rs = {path = "./x16rs"}
sys = {path = "./sys"}
field = {path = "./field"}
protocol = {path = "./protocol"}
db = {path = "./db", default-features = false}
mint = {path = "./mint"}
chain = {path = "./chain"}
node = {path = "./node"}
server = {path = "./server"}
app = {path = "./app"}
vm = {path = "./vm", optional = true }
[features]
default = ["db-sled"] #, "hip20", "tex", "ast", "hvm", "p2sh"]
hip20 = ["mint/hip20"]
tex = ["protocol/tex"]
ast = ["protocol/ast"]
hvm = ["dep:vm", "field/hvm"]
p2sh = ["dep:vm", "protocol/p2sh", "vm/p2sh"]
db-sled = ["db/db-sled"]
db-rusty-leveldb = ["db/db-rusty-leveldb"]
db-leveldb-sys = ["db/db-leveldb-sys"]
[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