Cargo Features
[dependencies]
klickhouse = { version = "0.13.2", default-features = false, features = ["derive", "compression", "geo-types", "refinery", "serde", "tls", "bb8", "rust_decimal"] }
- default = compression, derive, serde
-
These default features are set whenever
klickhouse
is added without
somewhere in the dependency tree.default-features = false - derive default = klickhouse_derive
- compression default = lz4
- geo-types
-
Enables geo-types
- refinery = refinery-core, time
- serde default = serde_json
- tls = rustls-pki-types, tokio-rustls
- bb8
-
Enables bb8
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- lz4 compression
- klickhouse_derive derive
- refinery-core refinery?
-
Enables refinery-core
must be locked due to transmute
- time refinery?
- rust_decimal implicit feature
- serde_json serde
- tokio-rustls tls?
- rustls-pki-types tls?