Cargo Features

[dependencies]
clickhouse = { version = "0.13.1", default-features = false, features = ["inserter", "watch", "uuid", "time", "lz4", "test-util", "native-tls", "rustls-tls", "rustls-tls-aws-lc", "rustls-tls-ring", "rustls-tls-webpki-roots", "rustls-tls-native-roots"] }
default = lz4

The lz4 feature is set by default whenever clickhouse is added without default-features = false somewhere in the dependency tree.

inserter

Enables quanta

Affects clickhouse::inserter

watch

Enables serde_json and sha-1 and derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

Affects clickhouse::watch, handlers::watch, handlers::watch_only_events

uuid

Enables uuid

Affects serde::uuid

time

Enables time

Affects serde::time

lz4 default

Enables cityhash-rs and lz4_flex

cityhash-rs:

exact version for safety

test-util

Enables server of hyper

Affects clickhouse::test

native-tls

TLS

Enables hyper-tls

rustls-tls = rustls-tls-aws-lc, rustls-tls-webpki-roots

ext: native-tls-alpn
ext: native-tls-vendored

rustls-tls-aws-lc rustls-tls?

Enables rustls, aws-lc-rs of hyper-rustls

rustls-tls-ring

Enables rustls, ring of hyper-rustls

rustls-tls-webpki-roots rustls-tls?

Enables rustls, webpki-tokio of hyper-rustls

rustls-tls-native-roots

Enables rustls, native-tokio of hyper-rustls