teslatte/Cargo.toml

45 lines
1.3 KiB
TOML
Raw Normal View History

2022-07-21 13:46:49 +10:00
[package]
name = "teslatte"
2024-04-12 11:14:32 +10:00
version = "0.1.15"
2023-09-21 10:02:48 +10:00
description = "A command line tool and Rust crate for querying the Tesla API."
2022-07-21 13:46:49 +10:00
edition = "2021"
rust-version = "1.75.0"
2022-07-21 13:46:49 +10:00
license = "MIT OR Apache-2.0"
2023-08-29 15:11:54 +10:00
repository = "https://github.com/gak/teslatte"
2022-07-21 13:46:49 +10:00
[features]
default = ["cli", "cli-pretty-json", "fancy-errors"]
fancy-errors = ["miette/fancy"]
cli = ["dep:clap", "dep:tracing-subscriber"]
cli-pretty-json = ["dep:colored_json"]
2022-07-21 13:46:49 +10:00
2023-08-29 13:55:02 +10:00
[[bin]]
name = "teslatte"
path = "src/main.rs"
required-features = ["cli"]
2022-07-21 13:46:49 +10:00
[dependencies]
miette = { version = "7.2.0", features = ["fancy"] }
2024-01-20 19:05:39 +11:00
thiserror = "1.0.56"
tokio = { version = "1.35.1", features = ["full"] }
2023-10-20 08:15:06 +11:00
tracing = "0.1.40"
reqwest = { version = "0.12.3", features = ["rustls-tls", "cookies", "json"] }
2024-01-20 19:05:39 +11:00
url = "2.5.0"
serde = { version = "1.0.195", features = ["derive"] }
serde_json = "1.0.111"
rustls = "0.23.0"
rand = "0.8.5"
2023-10-20 08:15:06 +11:00
chrono = { version = "0.4.31", features = ["serde"] }
strum = { version = "0.26.1", 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
2024-01-20 19:05:39 +11:00
clap = { version = "4.4.18", features = ["derive", "env"], optional = true }
tracing-subscriber = { version = "0.3.18", optional = true }
colored_json = { version = "5.0.0", optional = true }
2022-07-21 13:46:49 +10:00
[dev-dependencies]
2024-01-20 19:05:39 +11:00
test-log = { version = "0.2.14", default-features = false, features = ["trace"] }