bump deps

This commit is contained in:
Alex Janka 2024-12-26 13:24:24 +11:00
parent 25bf180d88
commit 983bafef34
2 changed files with 22 additions and 18 deletions

View file

@ -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",
] }

View file

@ -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 {