update dependencies

This commit is contained in:
Alex Janka 2024-12-23 15:55:49 +11:00
parent 458d1149e1
commit e016bd013c
3 changed files with 1009 additions and 674 deletions

1645
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -15,26 +15,26 @@ assets = [["target/release/tesla-charge-controller", "usr/bin/", "755"]]
[dependencies] [dependencies]
teslatte = { git = "https://git.alexjanka.com/alex/teslatte" } teslatte = { git = "https://git.alexjanka.com/alex/teslatte" }
tesla-common = { git = "https://git.alexjanka.com/alex/tesla-common" } tesla-common = { git = "https://git.alexjanka.com/alex/tesla-common" }
clap = { version = "4.0", features = ["derive"] } clap = { version = "4.5.23", features = ["derive"] }
ron = "0.8" ron = "0.8.1"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0.216", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0.134"
tokio = { version = "1.35.1", features = ["full"] } tokio = { version = "1.42.0", features = ["full"] }
thiserror = "1.0" thiserror = "2.0.9"
rocket = { version = "0.5", features = ["json"] } rocket = { version = "0.5.1", features = ["json"] }
include_dir = "0.7" include_dir = "0.7.4"
chrono = "0.4" chrono = "0.4.39"
prometheus = "0.13" prometheus = "0.13.4"
env_logger = "0.10" env_logger = "0.11.6"
log = "0.4" log = "0.4.22"
serialport = "4.3" serialport = "4.6.1"
tokio-modbus = "0.13.1" tokio-modbus = "0.16.1"
tokio-serial = "5.4.4" tokio-serial = "5.4.4"
if_chain = "1.0.2" if_chain = "1.0.2"
notify-debouncer-mini = { version = "0.4.1", default-features = false } notify-debouncer-mini = { version = "0.5.0", default-features = false }
lazy_static = "1.4" lazy_static = "1.5.0"
rand = "0.8" rand = "0.8.5"
reqwest = "0.12.4" reqwest = "0.12.9"
# [patch."https://git.alexjanka.com/alex/tesla-common"] # [patch."https://git.alexjanka.com/alex/tesla-common"]
# tesla-common = { path = "../tesla-common" } # tesla-common = { path = "../tesla-common" }

View file

@ -107,7 +107,7 @@ pub enum TristarError {
#[error(transparent)] #[error(transparent)]
Modbus(#[from] tokio_modbus::Error), Modbus(#[from] tokio_modbus::Error),
#[error(transparent)] #[error(transparent)]
ModbusException(#[from] tokio_modbus::Exception), ModbusException(#[from] tokio_modbus::ExceptionCode),
#[error(transparent)] #[error(transparent)]
Serial(#[from] tokio_serial::Error), Serial(#[from] tokio_serial::Error),
} }