Cargo Features
[dependencies]
gifski = { version = "1.12.0", default-features = false, features = ["binary", "capi", "png", "openmp-static", "video", "video-static", "video-prebuilt-static", "gifsicle"] }
- default = binary, gifsicle
-
cargo build will skip the binaries with missing required-features so all CLI dependencies have to be enabled by default
- binary default = pbr, png
-
Enables clap, dunce, natord, and wild
Required by the gifski binary
- capi
-
internal for cargo-c only
- png binary
-
Enables lodepng
Affects
c_api::gifski_add_frame_png_file
… - openmp openmp-static
-
deprecated, obsolete
- video video-prebuilt-static? video-static? = ffmpeg
- video-static = video
-
Enables build of ffmpeg-next
- video-prebuilt-static = video
-
Enables static of ffmpeg-next
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features.
- gifsicle default
- pbr binary
- ffmpeg video?
-
Enables codec, format, filter, software-resampling and software-scaling of ffmpeg-next