# 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 = "klickhouse" version = "0.13.2" authors = ["Protryon "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Klickhouse is a pure Rust SDK for working with Clickhouse with the native protocol in async environments with minimal boilerplate and maximal performance." readme = "README.md" keywords = [ "clickhouse", "database", "tokio", "sql", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Protryon/klickhouse" [package.metadata.docs.rs] all-features = true [lib] name = "klickhouse" path = "src/lib.rs" [[example]] name = "basic" path = "examples/basic.rs" [[example]] name = "pool" path = "examples/pool.rs" required-features = ["bb8"] [[test]] name = "test" path = "tests/main.rs" [dependencies.async-trait] version = "0.1" [dependencies.bb8] version = "0.8" optional = true [dependencies.chrono] version = "0.4" features = [ "std", "now", ] default-features = false [dependencies.chrono-tz] version = "0.9" [dependencies.cityhash-rs] version = "1.0" [dependencies.compiler-tools] version = "0.2" [dependencies.compiler-tools-derive] version = "0.2" [dependencies.futures-util] version = "0.3" features = ["std"] default-features = false [dependencies.geo-types] version = "0.7" optional = true [dependencies.indexmap] version = "2.2" [dependencies.klickhouse_derive] version = "=0.13.0" optional = true [dependencies.log] version = "0.4" [dependencies.lz4] version = "1.24" optional = true [dependencies.paste] version = "1.0" [dependencies.refinery-core] version = "=0.8.14" optional = true [dependencies.rust_decimal] version = "1.35" optional = true [dependencies.rustls-pki-types] version = "1.4" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.thiserror] version = "1.0" [dependencies.time] version = "0.3" features = [ "parsing", "formatting", ] optional = true [dependencies.tokio] version = "1.37" features = [ "io-util", "net", "rt", "macros", ] [dependencies.tokio-rustls] version = "0.26" optional = true [dependencies.tokio-stream] version = "0.1" [dependencies.uuid] version = "1.8" features = ["v4"] [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.tokio] version = "1.37" features = ["rt-multi-thread"] [build-dependencies.rustc_version] version = "0.4" [features] bb8 = ["dep:bb8"] compression = ["lz4"] default = [ "derive", "compression", "serde", ] derive = ["klickhouse_derive"] geo-types = ["dep:geo-types"] refinery = [ "refinery-core", "time", ] serde = [ "dep:serde", "serde_json", "uuid/serde", "chrono/serde", ] tls = [ "tokio-rustls", "rustls-pki-types", ]