# 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.65" name = "taos-ws" version = "0.12.3" authors = ["Linhe Huo "] description = "Driver for TDengine - a timeseries database and analysis platform" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/taosdata/taos-connector-rust.git" [package.metadata.docs.rs] features = ["rustls"] [dependencies.anyhow] version = "1" [dependencies.async-trait] version = "0.1.80" [dependencies.bytes] version = "1.1.0" [dependencies.dashmap] version = "5.4.0" [dependencies.derive_more] version = "0.99" [dependencies.futures] version = "0.3" [dependencies.http] version = "1.0.0" [dependencies.itertools] version = "0.13.0" [dependencies.log] version = "0.4" [dependencies.maplit] version = "1.0" [dependencies.once_cell] version = "1" [dependencies.parse_duration] version = "2.1" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.serde_repr] version = "0.1.8" [dependencies.serde_with] version = "3.0.0" [dependencies.taos-query] version = "0.12.3" [dependencies.thiserror] version = "1.0.47" [dependencies.tokio] version = "1" features = [ "sync", "rt-multi-thread", "macros", "io-util", "time", ] [dependencies.tokio-rustls] version = "0.23.4" [dependencies.tokio-tungstenite] version = "0.23.0" [dependencies.tracing] version = "0.1" [dependencies.ws-tool] version = "0.11" features = [ "async", "deflate", "async_tls_rustls", ] [dev-dependencies.criterion] version = "0.5.1" features = ["stable"] [dev-dependencies.pretty_env_logger] version = "0.5.0" [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["fmt"] [features] default = ["tmq"] deflate = [] native-tls = [ "tokio-tungstenite/native-tls", "ws-tool/async_tls_native", "ws-tool/native-tls", ] native-tls-vendored = [ "tokio-tungstenite/native-tls-vendored", "native-tls", ] rustls = ["tokio-tungstenite/rustls-tls-native-roots"] sync = [] tmq = []