clickhouse-native-client 0.1.0

Async ClickHouse client using the native TCP protocol with LZ4/ZSTD compression and TLS support
Documentation
# 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 = "clickhouse-native-client"
version = "0.1.0"
build = false
exclude = [
    "cpp/",
    "tests/",
    "benches/",
    "certs/",
    "clickhouse-config/",
    "clickhouse-data/",
    "clickhouse-data-tls/",
    "features/",
    ".devcontainer/",
    ".github/",
    "docker-compose.yml",
    "justfile",
    "generate_block_tests.sh",
    "BUILD.bazel",
    "CLAUDE.md",
    "BENCHMARK_RESULTS.md",
    "doc-requirements.md",
    "rustfmt.toml",
    "*.proptest-regressions",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async ClickHouse client using the native TCP protocol with LZ4/ZSTD compression and TLS support"
homepage = "https://github.com/alfa07/clickhouse-native-client"
documentation = "https://docs.rs/clickhouse-native-client"
readme = "README.md"
keywords = [
    "clickhouse",
    "database",
    "async",
    "tcp",
    "native-protocol",
]
categories = [
    "database",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/alfa07/clickhouse-native-client"

[features]
default = []
tls = [
    "tokio-rustls",
    "rustls",
    "rustls-native-certs",
    "rustls-pemfile",
]

[lib]
name = "clickhouse_native_client"
path = "src/lib.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"

[dependencies.cityhash-rs]
version = "1.0"

[dependencies.lz4]
version = "1.28"

[dependencies.rustls]
version = "0.21"
optional = true

[dependencies.rustls-native-certs]
version = "0.6"
optional = true

[dependencies.rustls-pemfile]
version = "1.0"
optional = true

[dependencies.socket2]
version = "0.5"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-rustls]
version = "0.24"
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"

[dependencies.zstd]
version = "0.13"

[dev-dependencies.criterion]
version = "0.5"
features = [
    "html_reports",
    "async_tokio",
]

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.tokio-test]
version = "0.4"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage,coverage_nightly)"]