Cargo Features

[dependencies]
libwebp-sys2 = { version = "0.2.0", default-features = false, features = ["std", "demux", "mux", "0_5", "0_6", "1_1", "1_2", "1_4", "1_5", "static", "extern-types"] }
default = 1_2, std

These default features are set whenever libwebp-sys2 is added without default-features = false somewhere in the dependency tree.

std default
demux

Enables demux of libwebp-sys2 ^0.1.10

Delegate linkage

mux

Enables mux of libwebp-sys2 ^0.1.10

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 default 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

Enables static of libwebp-sys2 ^0.1.10

extern-types