Cargo Features
[dependencies]
libcramjam = { version = "0.4.2", default-features = false, features = ["capi", "snappy", "lz4", "bzip2", "brotli", "xz", "zstd", "gzip", "deflate", "blosc2", "blosc2-static", "blosc2-shared", "use-system-blosc2"] }
- default = blosc2, brotli, bzip2, deflate, gzip, lz4, snappy, xz, 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
Affects
libcramjam::bzip2
… - brotli default
-
Enables brotli ^3
Affects
capi::brotli_max_compressed_len
,libcramjam::brotli
… - xz default
-
Enables xz2
Affects
libcramjam::xz
… - zstd default
-
Enables zstd
Affects
capi::zstd_max_compressed_len
,libcramjam::zstd
… - gzip default
-
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
capi::gzip_max_compressed_len
,libcramjam::gzip
… - deflate default
-
Enables flate2, libdeflate-sys <1.20.0, and libdeflater
Affects
capi::deflate_max_compressed_len
,libcramjam::deflate
… - blosc2 default = blosc2-static
-
Affects
libcramjam::blosc2
… - blosc2-static blosc2
- use-system-blosc2
-
Enables use-system-blosc2 of blosc2-rs