# 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" name = "decthings-api" version = "0.1.5" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Official Rust API client for Decthings" homepage = "https://decthings.com" readme = "README.md" license-file = "LICENSE" repository = "https://github.com/decthings/api-client-rs" [lib] name = "decthings_api" path = "src/lib.rs" [dependencies.base64] version = "0.21" optional = true [dependencies.byte-slice-cast] version = "1.2" [dependencies.bytes] version = "1.5" [dependencies.futures] version = "0.3" optional = true [dependencies.http] version = "0.2" optional = true [dependencies.ndarray] version = "0.15" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" optional = true [dependencies.tokio] version = "1" features = [ "rt", "sync", ] optional = true [dependencies.tokio-tungstenite] version = "0.20" features = ["native-tls"] optional = true [features] client = [ "base64", "embedded-svc", "esp-idf-svc", "esp-idf-sys", "http", "reqwest", "serde_json", "tokio", ] default = [ "client", "events", ] events = [ "client", "tokio-tungstenite", "futures", ] [target.'cfg(not(target_endian = "little"))'.dependencies.byteorder] version = "1.5" [target.'cfg(not(target_os = "espidf"))'.dependencies.reqwest] version = "0.11" optional = true [target.'cfg(target_os = "espidf")'.dependencies.embedded-svc] version = "0.26" optional = true [target.'cfg(target_os = "espidf")'.dependencies.esp-idf-svc] version = "0.47" optional = true [target.'cfg(target_os = "espidf")'.dependencies.esp-idf-sys] version = "0.33" optional = true