# 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 = "databend-driver" version = "0.22.2" authors = ["Databend Authors "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Databend Driver for Rust" readme = "README.md" keywords = [ "databend", "database", "sdk", ] categories = ["database"] license = "Apache-2.0" repository = "https://github.com/databendlabs/bendsql" [lib] name = "databend_driver" path = "src/lib.rs" [[test]] name = "driver" path = "tests/driver/main.rs" [dependencies.arrow] version = "53.0" [dependencies.arrow-flight] version = "53.0" features = ["flight-sql-experimental"] optional = true [dependencies.arrow-schema] version = "53.0" optional = true [dependencies.async-compression] version = "0.4" features = [ "tokio", "zstd", ] [dependencies.async-trait] version = "0.1" [dependencies.chrono] version = "0.4.35" features = ["clock"] default-features = false [dependencies.csv] version = "1.3" [dependencies.databend-client] version = "0.22.2" [dependencies.databend-driver-core] version = "0.22.2" [dependencies.databend-driver-macros] version = "0.22.2" [dependencies.dyn-clone] version = "1.0" [dependencies.glob] version = "0.3" [dependencies.log] version = "0.4" [dependencies.once_cell] version = "1.18" [dependencies.percent-encoding] version = "2.3" [dependencies.serde_json] version = "1.0" features = ["std"] default-features = false [dependencies.tokio] version = "1.34" features = ["macros"] [dependencies.tokio-stream] version = "0.1" [dependencies.tonic] version = "0.12" features = [ "transport", "codegen", "tls", "tls-webpki-roots", "prost", ] optional = true default-features = false [dependencies.url] version = "2.5" default-features = false [dev-dependencies] [features] default = ["rustls"] flight-sql = [ "dep:arrow-flight", "dep:arrow-schema", "dep:tonic", "databend-driver-core/flight-sql", ] native-tls = ["databend-client/native-tls"] rustls = ["databend-client/rustls"]