Cargo Features
[dependencies]
mstickerlib = { version = "0.3.1", default-features = false, features = ["ffmpeg", "ffmpeg-build", "log", "lottie"] }
- default = ffmpeg, log, lottie
-
These default features are set whenever
mstickerlib
is added without
somewhere in the dependency tree.default-features = false - ffmpeg default ffmpeg-build?
-
Enables ffmpeg-next, tempfile, and webp-animation
- ffmpeg-build = ffmpeg
-
Enables build of ffmpeg-next
- log default
-
Enables log
- lottie default
-
Enables gif ^0.12.0, lottieconv, tempfile, and webp-animation
gif:
we need this crate only for the gif error, which is not reexported by the lottie crate