Cargo Features
[dependencies]
streamdata = { version = "0.2.3", default-features = false, features = ["small", "heavy", "bytes", "serde_json", "k8s-openapi", "tokio-util"] }
- default = heavy, small
-
These default features are set whenever
streamdata
is added without
somewhere in the dependency tree.default-features = false - small default = bytes, serde_json, tokio-util
- heavy default = k8s-openapi
- bytes small
-
Enables bytes
- serde_json small
-
Enables serde and serde_json
Affects
decoder::serde_json
… - k8s-openapi heavy
-
Enables k8s-openapi ^0.18 and thiserror ^1
Affects
decoder::k8s_openapi
… - tokio-util small
-
Enables bytes and tokio-util
Affects
decoder::tokio_util
…