Cargo Features
[dependencies]
qoi = { version = "0.4.1", default-features = false, features = ["alloc", "std", "reference"] }
- default = std
-
The
std
feature is set by default wheneverqoi
is added without
somewhere in the dependency tree.default-features = false - alloc
-
provides access to
Vec
without enablingstd
modeAffects
decode::decode_to_vec
,encode::encode_to_vec
… - std default
-
std mode (enabled by default) - provides access to
std::io
,Error
andVec
Affects
utils::GenericWriter
,decode::decode_to_vec
,encode::encode_to_vec
… - reference
-
follows reference encoder implementation precisely, but may be slightly slower