# 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 = "2018" rust-version = "1.60" name = "clickhouse" version = "0.11.6" authors = ["Paul Loyd "] description = "A typed client for ClickHouse with killer features" readme = "README.md" keywords = [ "clickhouse", "database", "driver", "tokio", "hyper", ] license = "MIT OR Apache-2.0" repository = "https://github.com/loyd/clickhouse.rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.release] debug = 2 [[example]] name = "mock" required-features = ["test-util"] [[bench]] name = "select_numbers" harness = false [[bench]] name = "insert" harness = false [[bench]] name = "select" harness = false [dependencies.bstr] version = "1.2" default-features = false [dependencies.bytes] version = "1" [dependencies.clickhouse-derive] version = "0.1.1" [dependencies.clickhouse-rs-cityhash-sys] version = "0.1.2" optional = true [dependencies.futures] version = "0.3.5" [dependencies.hyper] version = "0.14" features = [ "client", "tcp", "http1", "stream", ] [dependencies.hyper-tls] version = "0.5.0" optional = true [dependencies.lz4] version = "1.23.3" optional = true [dependencies.sealed] version = "0.4" [dependencies.serde] version = "1.0.106" [dependencies.serde_json] version = "1.0.68" optional = true [dependencies.sha-1] version = "0.10" optional = true [dependencies.static_assertions] version = "1.1" [dependencies.thiserror] version = "1.0.16" [dependencies.time] version = "0.3" optional = true [dependencies.tokio] version = "1.0.1" features = [ "rt", "macros", ] [dependencies.url] version = "2.1.1" [dependencies.uuid] version = "1" optional = true [dev-dependencies.criterion] version = "0.4.0" [dev-dependencies.function_name] version = "0.3" [dev-dependencies.hyper] version = "0.14" features = [ "client", "tcp", "http1", "stream", "server", ] [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.serde] version = "1.0.106" features = ["derive"] [dev-dependencies.serde_bytes] version = "0.11.4" [dev-dependencies.serde_repr] version = "0.1.7" [dev-dependencies.time] version = "0.3.17" features = [ "macros", "rand", ] [dev-dependencies.tokio] version = "1.0.1" features = [ "full", "test-util", ] [dev-dependencies.uuid] version = "1" features = ["v4"] [features] default = [ "lz4", "tls", ] lz4 = [ "dep:lz4", "dep:clickhouse-rs-cityhash-sys", ] test-util = ["hyper/server"] time = ["dep:time"] tls = ["dep:hyper-tls"] uuid = ["dep:uuid"] wa-37420 = [] watch = [ "dep:sha-1", "dep:serde_json", ]