nativeclick 0.26.9

Nativeclick is a pure Rust SDK for working with Clickhouse with the native protocol in async environments with minimal boilerplate and maximal performance.
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 = "2024"
rust-version = "1.89"
name = "nativeclick"
version = "0.26.9"
authors = [
    "Protryon <max.bruce12@gmail.com>",
    "Sn0wAlice <snow.alice@pm.me>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Nativeclick 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/Sn0wAlice/nativeclick"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
bb8 = ["dep:bb8"]
bfloat16 = ["dep:half"]
compression = [
    "lz4",
    "dep:zstd",
]
default = [
    "derive",
    "compression",
    "serde",
    "bfloat16",
]
derive = ["nativeclick_derive"]
geo-types = ["dep:geo-types"]
refinery = [
    "refinery-core",
    "time",
    "dep:async-trait",
]
serde = [
    "dep:serde",
    "serde_json",
    "uuid/serde",
    "chrono/serde",
    "half?/serde",
]
tls = [
    "tokio-rustls",
    "rustls-pki-types",
]

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

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "pool"
path = "examples/pool.rs"
required-features = ["bb8"]

[[example]]
name = "throughput"
path = "examples/throughput.rs"

[[test]]
name = "test"
path = "tests/main.rs"

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

[dependencies.bb8]
version = "0.9"
optional = true

[dependencies.chrono]
version = "0.4"
features = [
    "std",
    "now",
]
default-features = false

[dependencies.chrono-tz]
version = "0.10"

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

[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false

[dependencies.geo-types]
version = "0.7"
optional = true

[dependencies.half]
version = "2.7"
optional = true

[dependencies.indexmap]
version = "2.13"

[dependencies.log]
version = "0.4"

[dependencies.lz4]
version = "1.28"
optional = true

[dependencies.nativeclick_derive]
version = "=0.26.9"
optional = true

[dependencies.refinery-core]
version = "0.9"
optional = true

[dependencies.rust_decimal]
version = "1.40"
optional = true

[dependencies.rustls-pki-types]
version = "1.14"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.time]
version = "0.3"
features = [
    "parsing",
    "formatting",
]
optional = true

[dependencies.tokio]
version = "1.50"
features = [
    "io-util",
    "net",
    "rt",
    "macros",
]

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

[dependencies.tokio-stream]
version = "0.1"

[dependencies.uuid]
version = "1.22"
features = ["v4"]

[dependencies.zstd]
version = "0.14"
optional = true

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.tokio]
version = "1.50"
features = ["rt-multi-thread"]