teslatte/Cargo.toml

36 lines
1 KiB
TOML
Raw Normal View History

2022-07-21 13:46:49 +10:00
[package]
name = "teslatte"
version = "0.0.1"
description = "A Rust crate and CLI for querying the Tesla API."
2022-07-21 13:46:49 +10:00
edition = "2021"
license = "MIT OR Apache-2.0"
[features]
default = ["cli", "fancy"]
fancy = ["miette/fancy"]
cli = ["dep:clap", "dep:tracing-subscriber"]
2022-07-21 13:46:49 +10:00
[dependencies]
miette = { version = "5.10.0", features = ["fancy"] }
thiserror = "1.0.44"
tokio = { version = "1.29.1", features = ["full"] }
tracing = "0.1.37"
reqwest = { version = "0.11.18", features = ["rustls-tls", "cookies", "json"] }
url = "2.4.0"
serde = { version = "1.0.177", features = ["derive"] }
serde_json = "1.0.104"
rustls = "0.21.5"
rand = "0.8.5"
chrono = { version = "0.4.26", features = ["serde"] }
strum = { version = "0.25.0", features = ["derive"] }
urlencoding = "2.1.3"
derive_more = "0.99.17"
2023-08-29 10:18:42 +10:00
pkce = "0.2.0"
2022-07-21 13:46:49 +10:00
clap = { version = "4.3.19", features = ["derive", "env"], optional = true }
tracing-subscriber = { version = "0.3.17", optional = true }
2022-07-21 13:46:49 +10:00
[dev-dependencies]
test-log = { version = "0.2.12", default-features = false, features = ["trace"] }