-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
44 lines (37 loc) · 1.12 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
workspace = { members = [ "packages/logger","packages/multicast"] }
[package]
name = "ants"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
path = "src/lib.rs"
[[bin]]
name = "serve"
path = "bin/serve.rs"
required-features = ["example"]
[features]
debug = ["logger/debug"]
debug_multicast = ["multicast/debug", "logger/debug"]
debug_all = ["debug", "debug_multicast"]
example = ["local-ip-address"]
[dependencies]
axum = "0.7.4"
clap = { version = "4.5.3", features = ["derive"] }
futures = "0.3.30"
fxhash = "0.2.1"
local-ip-address = { version = "0.6.1", optional = true }
logger = { version = "0.1.0", path = "packages/logger", default-features = false }
multicast = { path = "packages/multicast" }
prost = "0.12"
rand = "0.8.5"
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.114"
thiserror = "1.0.58"
tokio = { version = "1.36.0", features = ["rt-multi-thread", "macros", "sync", "time", "signal"] }
tonic = "0.11.0"
[dev-dependencies]
futures = "0.3.30"
serial_test = "3.1.1"
[build-dependencies]
tonic-build = "0.11.0"