Cargo Features

[dependencies]
zalgo-codec = { version = "0.13.1", default-features = false, features = ["binary", "gui", "serde", "rkyv", "macro", "std"] }
default = macro

The macro feature is set by default whenever zalgo-codec is added without default-features = false somewhere in the dependency tree.

binary gui? = std

Builds a binary that can be used to test out the codec.

Enables anyhow and clap

Required by the zalgo_codec binary

gui = binary

Builds an optional GUI into the binary.

Enables cli-clipboard, iced, and rfd

serde

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

Enables serde of zalgo-codec-common

rkyv

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

Enables rkyv of zalgo-codec-common

macro default

Enables the proc-macros zalgo_embed! and zalgofy!

Enables zalgo-codec-macro

std binary?

Enables the EncodeError and DecodeError types to capture a Backtrace. Without this feature the crate is no_std compatible, but still uses the alloc crate.

Enables std of optional anyhow, optional clap, and zalgo-codec-common