forked from holo-routing/holo-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (34 loc) · 1 KB
/
Cargo.toml
File metadata and controls
41 lines (34 loc) · 1 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
[package]
name = "holo-cli"
version = "0.5.0"
authors = ["Renato Westphal <renatowestphal@gmail.com>"]
license = "MIT"
edition = "2024"
[dependencies]
indextree = "4.3"
prettytable-rs = "0.10"
reedline = "0.38.0"
xml-rs = "0.8"
clap = "2.33"
derive-new = "0.5"
enum-as-inner = "0.6"
itertools = "0.10"
prost = "0.13"
similar = "2.0"
tokio = { version = "1.0", features = ["full"] }
tonic = { version = "0.12", features = ["tls"] }
yang4 = { version = "0.1", features = ["bundled"] }
[build-dependencies]
tonic-build = "0.12"
[lints.rust]
rust_2018_idioms = "warn"
[lints.clippy]
result_large_err = "allow"
uninlined_format_args = "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