2022-07-21 13:46:49 +10:00
|
|
|
[package]
|
|
|
|
name = "teslatte"
|
2023-10-10 12:45:44 +11:00
|
|
|
version = "0.1.6"
|
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"
|
|
|
|
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
|
|
|
|
2023-08-29 10:49:04 +10:00
|
|
|
[features]
|
2023-08-29 13:11:28 +10:00
|
|
|
default = ["cli", "cli-pretty-json", "fancy-errors"]
|
2023-08-29 10:49:04 +10:00
|
|
|
|
2023-08-29 13:11:28 +10:00
|
|
|
fancy-errors = ["miette/fancy"]
|
2023-08-29 10:49:04 +10:00
|
|
|
cli = ["dep:clap", "dep:tracing-subscriber"]
|
2023-08-29 13:11:28 +10:00
|
|
|
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]
|
2023-08-29 11:33:03 +10:00
|
|
|
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"
|
2023-08-29 10:50:30 +10:00
|
|
|
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"
|
2023-08-29 11:33:03 +10:00
|
|
|
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
|
|
|
|
2023-08-29 11:33:03 +10:00
|
|
|
clap = { version = "4.3.19", features = ["derive", "env"], optional = true }
|
2023-08-29 10:49:04 +10:00
|
|
|
tracing-subscriber = { version = "0.3.17", optional = true }
|
2023-08-29 13:11:28 +10:00
|
|
|
colored_json = { version = "3.2.0", optional = true }
|
2023-08-29 10:49:04 +10:00
|
|
|
|
2022-07-21 13:46:49 +10:00
|
|
|
[dev-dependencies]
|
2023-08-29 10:49:04 +10:00
|
|
|
test-log = { version = "0.2.12", default-features = false, features = ["trace"] }
|