-
Notifications
You must be signed in to change notification settings - Fork 17
/
Cargo.toml
100 lines (94 loc) · 2.54 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[workspace]
members = [
"holo-bfd",
"holo-bgp",
"holo-daemon",
"holo-interface",
"holo-isis",
"holo-keychain",
"holo-ldp",
"holo-northbound",
"holo-ospf",
"holo-policy",
"holo-protocol",
"holo-rip",
"holo-routing",
"holo-system",
"holo-tools",
"holo-utils",
"holo-yang",
]
default-members = ["holo-daemon"]
resolver = "2"
[workspace.package]
version = "0.5.0"
authors = ["Renato Westphal <renatowestphal@gmail.com>"]
license = "MIT"
edition = "2021"
repository = "https://github.com/holo-routing/holo"
[workspace.dependencies]
async-trait = "0.1"
base64 = "0.21"
bitflags = { version = "2.4", features = ["serde"] }
bytes = { version = "1", features = ["serde"] }
capctl = "0.2"
check_keyword = "0.2"
clap = "2.33"
chrono = { version = "0.4", features = ["serde"] }
convert_case = "0.6"
criterion = "0.4"
crossbeam-channel = "0.5"
derive-new = "0.5"
enum-as-inner = "0.6"
fletcher = "1.0"
futures = "0.3"
generational-arena = "0.2"
ipnetwork = "0.20"
hmac = "0.12"
itertools = "0.10"
libc = "0.2"
maplit = "1.0"
md5 = "0.7"
nix = { version = "0.29", features = ["fs", "net", "socket", "uio", "user"] }
netlink-packet-core = "0.7"
netlink-packet-route = "0.19"
netlink-packet-utils = "0.5"
netlink-sys = "0.8"
num-derive = "0.4"
num-traits = "0.2"
pickledb = "0.5"
prefix-trie = { version = "0.4.1", default-features = false, features = ["ipnetwork"] }
prost = "0.13"
rand = "0.8.5"
regex = "1.10"
rtnetlink = "0.14.1"
serde = { version = "1.0", features = ["derive", "rc"] }
serde_json = "1.0"
serde_with = "3.7"
sha1 = "0.10"
sha2 = "0.10"
similar = "2.0"
smallvec = { version = "1.11", features = ["serde"] }
socket2 = { version = "0.4", features = ["all"] }
tokio = { version = "1.0", features = ["full"] }
tonic = { version = "0.12", features = ["tls"] }
tonic-build = "0.12"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
twox-hash = "1.6"
yang3 = { version = "0.9", features = ["bundled"] }
[workspace.lints.rust]
rust_2018_idioms = { level = "warn", priority = -1 }
unsafe_code = "forbid"
[workspace.lints.clippy]
borrowed_box = "allow"
manual_range_contains = "allow"
single_match = "allow"
too_many_arguments = "allow"
[profile.release]
lto = true # Enable link-time optimization for improved runtime performance
codegen-units = 1 # Set the number of codegen units to 1 to increase optimization opportunities
[profile.small]
inherits = "release" # Inherit settings from the release profile
opt-level = "z" # Optimize for small binary size
strip = true # Strip symbols to further reduce binary size