-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (39 loc) · 1.4 KB
/
Cargo.toml
File metadata and controls
41 lines (39 loc) · 1.4 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 = "hars-imp"
version = "0.1.0"
edition = "2024"
repository = "https://github.com/your-repo/mqtt-agent"
# Add binary optimization profiles
[profile.release]
opt-level = "z" # Optimize for size rather than speed
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations
panic = "abort" # Abort on panic instead of unwinding (saves space)
strip = true # Automatically strip symbols from the binary
[dependencies]
rumqttc = { version = "0.24", default-features = false, features = [
"use-rustls",
] }
tokio = { version = "1.45", default-features = false, features = [
"rt-multi-thread",
"macros",
"time",
"signal",
"process",
"sync",
] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
toml = { version = "0.8", default-features = false, features = ["parse"] }
serde_json = { version = "1.0", default-features = false, features = ["std"] }
tracing = { version = "0.1", default-features = false, features = ["std"] }
tracing-subscriber = { version = "0.3", default-features = false, features = [
"env-filter",
"fmt",
"ansi",
] }
sysinfo = { version = "0.35", default-features = false, features = [
"system",
"disk",
] }
zbus = { version = "5.7", default-features = false, features = ["tokio"] }
futures = { version = "0.3", default-features = false, features = ["std"] }