-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
62 lines (54 loc) · 1.4 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
[package]
name = "omnip"
version = "0.6.1"
edition = "2021"
[lib]
crate-type = ["dylib", "lib"]
[dependencies]
clap = { version = "4.5", features = ["derive"] }
tokio = { version = "1.40", features = ["full"] }
pretty_env_logger = "0.5"
log = "0.4"
chrono = "0.4"
anyhow = "1.0"
futures-util = "0.3"
pin-utils = "0.1.0"
num_cpus = "1.16"
url = "2.5"
regex = "1.10"
notify = "6.1"
rs-utilities = "0.4.2"
# rs-utilities = { path = "../rs-utilities" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_with = "3.0"
lazy_static = "1.4"
async-trait = "0.1"
byte-pool = { git = "https://github.com/neevek/byte-pool" }
# rstun = { path = "../rstun" }
rstun = { git = "https://github.com/neevek/rstun", tag = "release/0.6.2" }
hyper = { version = "0.14", features = ["full"]}
http = "0.2"
http-body = "0.4"
mime_guess = "2.0"
monolithica = { git = "https://github.com/neevek/monolithica" }
base64 = "0.22"
dashmap = "6"
[dev-dependencies]
jni = "0.19"
android_logger = "0.13"
[target.aarch64-linux-android.dependencies]
jni = "0.19"
android_logger = "0.13"
[target.armv7-linux-androideabi.dependencies]
jni = "0.19"
android_logger = "0.13"
[build-dependencies]
monolithica = { git = "https://github.com/neevek/monolithica" }
######### build shared lib for android ###########
# cargo build --target=aarch64-linux-android --release --lib
[profile.release]
opt-level = "z"
strip = true
lto ="fat"
panic = "abort"