-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
26 lines (23 loc) · 840 Bytes
/
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
[package]
name = "esmart-mqtt"
description = "eSmart -> MQTT bridge with Home Assistant Discovery support"
version = "0.1.0"
edition = "2021"
[dependencies]
chrono = "^0.4"
# temporary, until https://gitlab.com/xmpp-rs/xmpp-rs/-/merge_requests/218 gets sorted out
tokio-xmpp = { git = "https://gitlab.com/ngerakines/xmpp-rs.git", branch = "main", default-features = false, features = ["tls-rust"] }
tokio = { version = "^1.25", features = ["net", "rt", "rt-multi-thread", "macros", "io-util", "io-std"] }
tokio-stream = "^0.1"
xmpp-parsers = "^0.20"
rumqttc = "^0.22.0"
env_logger = "^0.10"
serde = { version = "^1.0", features = ["derive"] }
serde_json = "^1.0"
log = "^0.4"
clap = { version = "^4.4", features = ["derive", "env"] }
[profile.release]
opt-level = "z" # optimize for size
[[bin]]
name = "esmart_mqtt"
path = "src/main.rs"