Cargo Features
[dependencies]
gif = { version = "0.13.1", default-features = false, features = ["raii_no_panic", "color_quant", "std"] }
- default = color_quant, raii_no_panic, std
-
These default features are set whenever
gif
is added without
somewhere in the dependency tree.default-features = false - raii_no_panic default
-
The
Encoder
finishes writing inDrop
, and if the write fails, it either ignores the error (raii_no_panic
) or panics. UseEncoder::into_inner
to avoid the issue entirely - color_quant default
-
Enables color_quant
- std default
-
Reservation for a feature turning off std