Cargo Features

libwebp-sys2 has no features set by default.

[dependencies]
libwebp-sys2 = { version = "0.1.10", features = ["mux", "0_5", "0_6", "1_1", "1_2", "1_4", "1_5", "must-use"] }
demux mux
0_5 0_6?

Affects decode::WebPBitstreamFeatures.pad, decode::WebPDecoderOptions.flip, decode::WebPDecoderOptions.alpha_dithering_strength, demux::WebPAnimDecoder, demux::WebPAnimDecoderOptions, demux::WebPAnimInfo, demux::WebPAnimDecoderOptionsInitInternal, demux::WebPAnimDecoderNewInternal, demux::WebPAnimDecoderGetInfo, demux::WebPAnimDecoderGetNext, demux::WebPAnimDecoderHasMoreFrames, demux::WebPAnimDecoderReset, demux::WebPAnimDecoderGetDemuxer, demux::WebPAnimDecoderDelete, demux::WebPAnimDecoderOptionsInit, demux::WebPAnimDecoderNew, encode::WebPConfig.near_lossless, encode::WebPConfig.exact, encode::WebPConfig.pad, encode::WebPAuxStats.lossless_hdr_size

0_6 1_1? = 0_5

Affects encode::WebPConfig.use_delta_palette, encode::WebPConfig.use_sharp_yuv, encode::WebPConfig.pad, encode::WebPPlaneDistortion, encode::WebPPictureSharpARGBToYUVA, mux::WEBP_CHUNK_DEPRECATED, mux_types::ALL_VALID_FLAGS

1_1 1_2? = 0_6

Affects types::WebPMalloc

1_2 1_4? = 1_1

Affects encode::WebPConfig.qmin, encode::WebPConfig.qmax

1_4 1_5? = 1_2

Affects mux::WebPAnimEncoderSetChunk, mux::WebPAnimEncoderGetChunk, mux::WebPAnimEncoderDeleteChunk

1_5 = 1_4

Affects encode::WebPAuxStats.cross_color_transform_bits, encode::WebPAuxStats.pad

static extern-types must-use