# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.75.0" name = "teslatte" version = "0.1.15" description = "A command line tool and Rust crate for querying the Tesla API." readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/gak/teslatte" [[bin]] name = "teslatte" path = "src/main.rs" required-features = ["cli"] [dependencies.chrono] version = "0.4.31" features = ["serde"] [dependencies.clap] version = "4.4.18" features = [ "derive", "env", ] optional = true [dependencies.colored_json] version = "5.0.0" optional = true [dependencies.derive_more] version = "0.99.17" [dependencies.miette] version = "7.2.0" features = ["fancy"] [dependencies.pkce] version = "0.2.0" [dependencies.rand] version = "0.8.5" [dependencies.reqwest] version = "0.12.3" features = [ "rustls-tls", "cookies", "json", ] [dependencies.rustls] version = "0.23.0" [dependencies.serde] version = "1.0.195" features = ["derive"] [dependencies.serde_json] version = "1.0.111" [dependencies.strum] version = "0.26.1" features = ["derive"] [dependencies.thiserror] version = "1.0.56" [dependencies.tokio] version = "1.35.1" features = ["full"] [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.18" optional = true [dependencies.url] version = "2.5.0" [dependencies.urlencoding] version = "2.1.3" [dev-dependencies.test-log] version = "0.2.14" features = ["trace"] default-features = false [features] cli = [ "dep:clap", "dep:tracing-subscriber", ] cli-pretty-json = ["dep:colored_json"] default = [ "cli", "cli-pretty-json", "fancy-errors", ] fancy-errors = ["miette/fancy"]