Cargo Features
[dependencies]
libcramjam = { version = "0.6.0", default-features = false, features = ["capi", "snappy", "lz4", "bzip2", "brotli", "zstd", "igzip", "igzip-static", "igzip-shared", "ideflate", "ideflate-static", "ideflate-shared", "izlib", "izlib-static", "izlib-shared", "isal-static", "isal-shared", "use-system-isal", "gzip", "gzip-static", "gzip-shared", "zlib", "zlib-static", "zlib-shared", "deflate", "deflate-static", "deflate-shared", "xz", "xz-static", "xz-shared", "blosc2", "blosc2-static", "blosc2-shared", "use-system-blosc2", "wasm32-compat"] }
- default = blosc2, brotli, bzip2, deflate, gzip, ideflate, igzip, izlib, lz4, snappy, xz, zlib, zstd
-
These default features are set whenever
libcramjam
is added without
somewhere in the dependency tree.default-features = false - capi
-
Enables libc
- snappy default
-
Enables snap
Affects
capi::snappy_raw_max_compressed_len
,capi::snappy_raw_decompressed_len
,libcramjam::snappy
… - lz4 default
-
Enables lz4
Affects
capi::lz4_frame_max_compression_level
,capi::lz4_frame_max_compressed_len
,capi::lz4_block_max_compressed_len
,libcramjam::lz4
… - bzip2 default
-
Enables bzip2 ^0.4
Affects
libcramjam::bzip2
… - brotli default
-
Enables brotli
Affects
capi::brotli_max_compressed_len
,libcramjam::brotli
… - zstd default
-
Enables zstd
Affects
capi::zstd_max_compressed_len
,libcramjam::zstd
… - igzip default = isal-static
-
Affects
libcramjam::igzip
… - igzip-static = isal-static
-
Affects
libcramjam::igzip
… -
Affects
libcramjam::igzip
… - ideflate default = isal-static
-
Affects
libcramjam::ideflate
… - ideflate-static = isal-static
-
Affects
libcramjam::ideflate
… -
Affects
libcramjam::ideflate
… - izlib default = isal-static
-
Affects
libcramjam::izlib
… - izlib-static = isal-static
-
Affects
libcramjam::izlib
… -
Affects
libcramjam::izlib
… - isal-static ideflate ideflate-static? igzip igzip-static? izlib izlib-static?
- use-system-isal
-
Enables use-system-isal of isal-rs
- gzip default = gzip-static
-
Affects
capi::gzip_max_compressed_len
,libcramjam::gzip
… - gzip-static gzip
-
Enables flate2, libdeflate-sys <1.20.0, and libdeflater
libdeflate-sys:
TODO: requires gcc>=4.9 not available on Python's CI wheel builds
Affects
libcramjam::gzip
… -
Enables flate2, libdeflater, dynamic of libdeflate-sys <1.20.0
Affects
libcramjam::gzip
… - zlib default = zlib-static
-
Affects
libcramjam::zlib
… - zlib-static zlib
-
Enables flate2, libdeflate-sys <1.20.0, and libdeflater
Affects
libcramjam::zlib
… -
Enables flate2, libdeflater, dynamic of libdeflate-sys <1.20.0
Affects
libcramjam::zlib
… - deflate default = deflate-static
-
Affects
capi::deflate_max_compressed_len
,libcramjam::deflate
… - deflate-static deflate
-
Enables flate2, libdeflate-sys <1.20.0, and libdeflater
Affects
libcramjam::deflate
… -
Enables flate2, libdeflater, dynamic of libdeflate-sys <1.20.0
Affects
libcramjam::deflate
… - xz default = xz-static
-
Affects
libcramjam::xz
… - xz-static xz
-
builds from vendored source of xz
Affects
libcramjam::xz
… -
_maybe_ uses system xz; probes for it but falls back to building static lib
Enables xz2
Affects
libcramjam::xz
… - blosc2 default = blosc2-static
-
Affects
libcramjam::blosc2
… - blosc2-static blosc2
-
Affects
libcramjam::blosc2
… -
Affects
libcramjam::blosc2
… - use-system-blosc2
-
Enables use-system-blosc2 of blosc2-rs
- wasm32-compat
-
Enables deactivate-zlib-optim of blosc2-rs