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

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

Affects decoder::k8s_openapi

tokio-util small

Enables bytes and tokio-util

Affects decoder::tokio_util