-
Notifications
You must be signed in to change notification settings - Fork 359
Expand file tree
/
Copy pathCargo.toml
More file actions
81 lines (66 loc) · 1.51 KB
/
Copy pathCargo.toml
File metadata and controls
81 lines (66 loc) · 1.51 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
76
77
78
79
80
81
[package]
name = "vnt2"
version = "2.0.10"
edition = "2024"
license = "Apache-2.0"
[dependencies]
vnt-ipc = { path = "vnt-ipc", optional = true }
vnt-web = { path = "vnt-web", optional = true }
clap = { version = "4.5", features = ["derive", "env"] }
tokio = { workspace = true, features = ["full"] }
tokio-util.workspace = true
log.workspace = true
log4rs = "1.4"
serde.workspace = true
anyhow.workspace = true
toml.workspace = true
hostname.workspace = true
ipnet.workspace = true
sha2 = "0.11"
[target.'cfg(windows)'.dependencies]
windows-service.workspace = true
[features]
default = []
vnt-ipc = ["dep:vnt-ipc"]
vnt-web = ["dep:vnt-web"]
[[bin]]
name = "vnt2_cli"
path = "src/main_cli.rs"
required-features = ["vnt-ipc"]
[[bin]]
name = "vnt2_ctrl"
path = "src/main_ctrl.rs"
required-features = ["vnt-ipc"]
[[bin]]
name = "vnt2_web"
path = "src/main_web.rs"
required-features = ["vnt-web"]
[workspace]
members = ["vnt-web", "vnt-ipc", "vnt-core", "vnt-jni", "vnt-desktop/src-tauri"]
[workspace.dependencies]
vnt-core = { path = "vnt-core" }
tokio = "1"
tokio-util = "0.7"
futures = "0.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
anyhow = "1"
log = "0.4"
toml = "0.9"
time = "0.3"
hostname = "0.4"
ipnet = { version = "2.11", features = ["serde"] }
route_manager = "0.2"
parking_lot = "0.12"
arc-swap = "1.7"
prost = "0.14"
windows-service = "0.8.1"
[profile.release]
opt-level = 'z'
debug = 0
debug-assertions = false
strip = true
lto = true
incremental = false
codegen-units = 1
rpath = false