-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
58 lines (48 loc) · 1.43 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
[package]
name = "acolors"
version = "0.1.0"
authors = ["khonoka <[email protected]>"]
description = "Proxy Profile Manager Server with gRPC API"
license = "AGPLv3"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "acolors"
path = "crates/cli/main.rs"
[workspace]
members = [
"crates/kernel_manager",
"crates/profile_manager",
"crates/server",
"crates/config_manager",
"components/core_protobuf",
"components/core_data",
"components/serialize_tool",
"components/utils",
"components/acolors_signal",
]
[dependencies]
clap = { version = "4.0", features = ["derive","cargo"] }
spdlog-rs = { version = "0.3", features = [
"level-debug",
"release-level-info",
"source-location",
] }
anyhow = "1.0"
openssl = { version = '*', optional = true }
server = { path = "crates/server" }
utils = { path = "components/utils" }
[dev-dependencies]
tokio = { version = "1.18", features = ["rt-multi-thread", "macros", "sync"] }
core_protobuf = {path = "components/core_protobuf"}
core_data = {path = "components/core_data"}
serialize_tool = {path = "components/serialize_tool"}
profile_manager = {path = "crates/profile_manager"}
config_manager = {path = "crates/config_manager"}
kernel_manager = {path = "crates/kernel_manager"}
[profile.release]
lto = true
codegen-units = 1
strip = true
[features]
vendored-openssl = ["openssl/vendored"]