-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (30 loc) · 992 Bytes
/
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
[package]
authors = ["LongYinan <[email protected]>"]
edition = "2021"
name = "xcfx_node"
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib"]
[dependencies]
napi = { version = "3.0.0-alpha.21", features = ['napi8', 'async'] }
napi-derive = "3.0.0-alpha.20"
cfxcore = { git = "https://github.com/iosh/conflux-rust", branch = "v2.4.1" }
primitives = { git = "https://github.com/iosh/conflux-rust", branch = "v2.4.1" }
client = { git = "https://github.com/iosh/conflux-rust", branch = "v2.4.1" }
chrono = "0.4.38"
parking_lot = "0.11"
log = "0.4"
tempfile = "3"
log4rs = { version = "1.2.0", features = ["background_rotation", "gzip"] }
[build-dependencies]
napi-build = "2"
[profile.release]
lto = true
codegen-units = 1
opt-level = "z"
[profile.release.package]
snappy-sys = { opt-level = 3 }
libtitan_sys = { opt-level = 3 }
rocksdb = { opt-level = 3 }
librocksdb_sys = { opt-level = 3 }