This commit is contained in:
Robin Appelman 2025-06-02 22:40:07 +02:00
commit cedb67af89
3 changed files with 418 additions and 284 deletions

680
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -5,22 +5,19 @@ authors = ["Robin Appelman <robin@icewind.nl>"]
edition = "2021" edition = "2021"
description = "Expose Xiaomi MI Temperature and Humidity Sensor to prometheus" description = "Expose Xiaomi MI Temperature and Humidity Sensor to prometheus"
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
rust-version = "1.74.0" rust-version = "1.82.0"
[dependencies] [dependencies]
dotenvy = "0.15.7" dotenvy = "0.15.7"
main_error = "0.1.0" main_error = "0.1.2"
tokio = { version = "1.41.1", features = ["macros", "rt-multi-thread"] } tokio = { version = "1.45.1", features = ["macros", "rt-multi-thread"] }
warp = "0.3.7" warp = "0.3.7"
mitemp = "0.4.0" mitemp = "0.4.0"
tokio-stream = { version = "0.1.16", features = ["net"] } tokio-stream = { version = "0.1.17", features = ["net"] }
btleplug = { version = "0.11.6", features = ["serde"] } btleplug = { version = "0.11.8", features = ["serde"] }
tracing = "0.1.40" tracing = "0.1.41"
tracing-subscriber = "0.3.18" tracing-subscriber = "0.3.19"
serde = { version = "1.0.215", features = ["derive"] } serde = { version = "1.0.219", features = ["derive"] }
toml = "0.8.19" toml = "0.8.22"
secretfile = "0.1.0" secretfile = "0.1.1"
clap = { version = "4.5.20", features = ["derive"] } clap = { version = "4.5.39", features = ["derive"] }
[patch.crates-io]
btleplug = { git = "https://github.com/icewind1991/btleplug/", branch = "bdaddr-deserialize-string" }

View file

@ -31,8 +31,5 @@ in
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = {
"btleplug-0.11.6" = "sha256-Y9QZ6er/zaXALiQUUw8mMvzg15Dhz9NsWQ2WAM/ouh0=";
};
}; };
} }