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 wheneverclickhouse
is added without
somewhere in the dependency tree.default-features = false - 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
-
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