# 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" version = "0.12.3" authors = ["Linhe Huo "] description = "Driver for TDengine - a timeseries database and analysis platform" readme = "README.md" categories = [ "database", "api-bindings", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/taosdata/taos-connector-rust.git" [package.metadata.docs.rs] features = [ "ws-rustls", "optin", "deadpool", ] no-default-features = true [[bench]] name = "benchmark" harness = false [[bench]] name = "query" harness = false [dependencies.async-trait] version = "0.1" [dependencies.bytes] version = "1.1.0" [dependencies.futures] version = "0.3" features = ["executor"] [dependencies.log] version = "0.4.17" [dependencies.taos-optin] version = "0.12.3" optional = true [dependencies.taos-query] version = "0.12.3" default-features = false [dependencies.taos-ws] version = "0.12.3" optional = true [dev-dependencies.anyhow] version = "1" [dev-dependencies.async-trait] version = "0.1.68" [dev-dependencies.chrono] version = "0.4" [dev-dependencies.criterion] version = "0.5" features = [ "html_reports", "stable", ] [dev-dependencies.itertools] version = "0.13.0" [dev-dependencies.log] version = "0.4" [dev-dependencies.pretty_env_logger] version = "0.5.0" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.serde_json] version = "1" [dev-dependencies.tokio] version = "1" features = ["rt-multi-thread"] [features] deadpool = ["taos-query/deadpool"] default = [ "ws-rustls", "optin", "deadpool", ] deflate = [ "ws", "taos-ws/deflate", ] optin = ["taos-optin"] r2d2 = ["taos-query/r2d2"] ws = ["taos-ws"] ws-native-tls = [ "ws", "taos-ws/native-tls-vendored", ] ws-rustls = [ "ws", "taos-ws/rustls", ]