Cargo Features
[dependencies]
zalgo-codec = { version = "0.14.1", default-features = false, features = ["binary", "serde", "rkyv", "macro", "std"] }
- default = macro
-
The
macrofeature is set by default wheneverzalgo-codecis added withoutsomewhere in the dependency tree.default-features = false - binary = std
-
Builds a binary that can be used to test out the codec.
Required by the zalgo_codec binary
- serde
-
Derives the
SerializeandDeserializetraits fromserdefor theZalgoStringstruct.Enables serde of zalgo-codec-common
- rkyv
-
Derives the
Serialize,Deserialize, andArchivetraits fromrkyvfor theZalgoStringstruct.Enables rkyv of zalgo-codec-common
- macro default
-
Enables the proc-macros
zalgo_embed!andzalgofy!Enables zalgo-codec-macro
- std binary?
-
Enables the
EncodeErrorandDecodeErrortypes to capture aBacktrace. Without this feature the crate isno_stdcompatible, but still uses thealloccrate.Enables std of optional anyhow, optional clap, and zalgo-codec-common