From 983bafef34d450607659021e9b6eaf2ca880b10d Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Thu, 26 Dec 2024 13:24:24 +1100 Subject: [PATCH] bump deps --- Cargo.toml | 34 ++++++++++++++++++---------------- src/lib.rs | 6 ++++-- 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4032c8a..443705d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "teslatte" -version = "0.1.15" +version = "0.1.16" description = "A command line tool and Rust crate for querying the Tesla API." edition = "2021" rust-version = "1.75.0" @@ -20,25 +20,27 @@ path = "src/main.rs" required-features = ["cli"] [dependencies] -miette = { version = "7.2.0", features = ["fancy"] } -thiserror = "1.0.56" -tokio = { version = "1.35.1", features = ["full"] } -tracing = "0.1.40" -reqwest = { version = "0.12.3", features = ["rustls-tls", "cookies", "json"] } -url = "2.5.0" -serde = { version = "1.0.195", features = ["derive"] } -serde_json = "1.0.111" -rustls = "0.23.0" +miette = { version = "7.4.0", features = ["fancy"] } +thiserror = "2.0.9" +tokio = { version = "1.42.0", features = ["full"] } +tracing = "0.1.41" +reqwest = { version = "0.12.9", features = ["rustls-tls", "cookies", "json"] } +url = "2.5.4" +serde = { version = "1.0.216", features = ["derive"] } +serde_json = "1.0.134" +rustls = "0.23.20" rand = "0.8.5" -chrono = { version = "0.4.31", features = ["serde"] } -strum = { version = "0.26.1", features = ["derive"] } +chrono = { version = "0.4.39", features = ["serde"] } +strum = { version = "0.26.3", features = ["derive"] } urlencoding = "2.1.3" -derive_more = "0.99.17" +derive_more = { version = "1.0.0", features = ["full"] } pkce = "0.2.0" -clap = { version = "4.4.18", features = ["derive", "env"], optional = true } -tracing-subscriber = { version = "0.3.18", optional = true } +clap = { version = "4.5.23", features = ["derive", "env"], optional = true } +tracing-subscriber = { version = "0.3.19", optional = true } colored_json = { version = "5.0.0", optional = true } [dev-dependencies] -test-log = { version = "0.2.14", default-features = false, features = ["trace"] } +test-log = { version = "0.2.16", default-features = false, features = [ + "trace", +] } diff --git a/src/lib.rs b/src/lib.rs index 18921c7..f8b7b8f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,7 +9,7 @@ use crate::vehicles::{ SetTemperatures, Vehicle, VehicleData, }; use chrono::{DateTime, SecondsFormat, TimeZone}; -use derive_more::{Deref, Display, From, FromStr}; +use derive_more::{Deref, From, FromStr}; use reqwest::Client; use serde::{Deserialize, Serialize}; use std::fmt::{Debug, Display}; @@ -163,7 +163,9 @@ trait ApiValues { /// Vehicle ID used by the owner-api endpoint. /// /// This data comes from [`OwnerApi::vehicles()`] `id` field. -#[derive(Debug, Serialize, Deserialize, Clone, Copy, Display, FromStr, From, Deref)] +#[derive( + Debug, Serialize, Deserialize, Clone, Copy, derive_more::Display, FromStr, From, Deref, +)] pub struct VehicleId(u64); impl VehicleId {