-
Notifications
You must be signed in to change notification settings - Fork 69
/
Cargo.toml
80 lines (70 loc) · 2.14 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
71
72
73
74
75
76
77
78
79
80
[package]
name = "esse"
version = "0.1.0"
authors = ["CympleTech <[email protected]>"]
edition = "2021"
license = "MIT/Apache-2.0"
[workspace]
members = [
"types/primitives",
"types/group",
"types/dao",
"types/domain",
"types/cloud",
"types/data",
]
[lib]
name = "esse"
crate-type = ["cdylib", "staticlib"]
[[bin]]
name = "esse"
path = "src/daemon.rs"
required-features = ["daemon"]
[features]
default = []
daemon = ["console-subscriber"]
[profile.release]
opt-level = 's'
lto = true
codegen-units = 1
panic = 'abort'
[dependencies]
aes-gcm = "0.10"
anyhow = "1.0"
argon2 = "0.5"
base64 = "0.21"
bincode = "1.3"
blake3 = "1.3"
hex = "0.4"
image = "0.24"
once_cell = "1.9"
rand_chacha = "0.3"
sha2 = "0.10"
sysinfo = "0.29"
serde = { version = "1", features = ["derive"] }
tdn = { version = "0.10", default-features = false, features = ["std"] }
tdn_did = { version = "0.10" }
tdn_storage = { version = "0.10" }
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
tracing-appender = "0.2"
tracing-subscriber = "0.3"
web3 = { git = "https://github.com/sunhuachuang/rust-web3.git", default-features = false, features = ["http-tls", "signing"] }
esse_primitives = { version = "0.1", path = "./types/primitives" }
group_types = { version = "0.1", path = "./types/group" }
cloud_types = { version = "0.1", path = "./types/cloud" }
domain_types = { version = "0.1", path = "./types/domain" }
dao_types = { version = "0.1", path = "./types/dao" }
data = { version = "0.1", path = "./types/data" }
openssl = { version = "0.10", features = ["vendored"] } # Add for cross-compile.
console-subscriber = { version = "0.1", optional = true } # only use in bin daemon.
[target.'cfg(target_os="android")'.dependencies]
jni = { version = "0.21", default-features = false }
# DEBUG patch.
[patch.crates-io]
chamomile = { git = "https://github.com/cympletech/chamomile" }
chamomile_types = { git = "https://github.com/cympletech/chamomile" }
tdn = { git = "https://github.com/cympletech/tdn" }
tdn_types = { git = "https://github.com/cympletech/tdn" }
tdn_did = { git = "https://github.com/cympletech/tdn" }
tdn_storage = { git = "https://github.com/cympletech/tdn" }