[package] name = "teslatte" version = "0.1.16" description = "A command line tool and Rust crate for querying the Tesla API." edition = "2021" rust-version = "1.75.0" license = "MIT OR Apache-2.0" repository = "https://github.com/gak/teslatte" [features] default = ["cli", "cli-pretty-json", "fancy-errors"] fancy-errors = ["miette/fancy"] cli = ["dep:clap", "dep:tracing-subscriber"] cli-pretty-json = ["dep:colored_json"] [[bin]] name = "teslatte" path = "src/main.rs" required-features = ["cli"] [dependencies] 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.39", features = ["serde"] } strum = { version = "0.26.3", features = ["derive"] } urlencoding = "2.1.3" derive_more = { version = "1.0.0", features = ["full"] } pkce = "0.2.0" 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.16", default-features = false, features = [ "trace", ] }