Cargo Features

[dependencies]
serde_flow = { version = "1.1.1", default-features = false, features = ["tokio-fs", "async-std-fs", "bincode", "json", "serde", "zerocopy"] }
default = bincode, tokio-fs

These default features are set whenever serde_flow is added without default-features = false somewhere in the dependency tree.

tokio-fs default

Enables tokio of serde_flow_derive, fs of tokio

async-std-fs

Enables async-std, async-std of serde_flow_derive

bincode default = serde

Enables bincode

Encoders

Affects encoder::bincode

json = serde

Enables serde_json

Affects encoder::json

serde bincode json?

Enables derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

Affects flow::FlowId

zerocopy

Enables validation of rkyv ^0.7.44

Affects encoder::zerocopy, flow::zerocopy