Cargo Features

zalgo-codec-common has no features set by default.

[dependencies]
zalgo-codec-common = { version = "0.13.0", features = ["serde", "rkyv", "std"] }
serde

Derives the Serialize and Deserialize traits from serde for the ZalgoString struct.

Enables serde

rkyv

Derives the Serialize, Deserialize, and Archive traits from rkyv for the ZalgoString struct.

Enables rkyv

std

Enables the Error type to capture a Backtrace. Without this feature the crate is no_std compatible, but still uses the alloc crate.

Enables std of optional rkyv and optional serde