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 wheneverzalgo-codec
is added without
somewhere in the dependency tree.default-features = false - binary gui? = std
-
Builds a binary that can be used to test out the codec.
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
andDeserialize
traits fromserde
for theZalgoString
struct.Enables serde of zalgo-codec-common
- rkyv
-
Derives the
Serialize
,Deserialize
, andArchive
traits fromrkyv
for theZalgoString
struct.Enables rkyv of zalgo-codec-common
- macro default
-
Enables the proc-macros
zalgo_embed!
andzalgofy!
Enables zalgo-codec-macro
- std binary?
-
Enables the
EncodeError
andDecodeError
types to capture aBacktrace
. Without this feature the crate isno_std
compatible, but still uses thealloc
crate.Enables std of optional anyhow, optional clap, and zalgo-codec-common