Cargo Features

[dependencies]
rustybam = { version = "0.1.33", default-features = false, features = ["deflate_rust", "deflate_zlib", "deflate_zlib_ng", "libdeflate", "snap_default", "any_zlib", "snappy"] }
default = deflate_zlib_ng, libdeflate, snap_default

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

deflate_rust

Enables rust_backend of flate2, deflate_rust of gzp

deflate_zlib = any_zlib

Enables zlib of flate2, deflate_zlib of gzp

deflate_zlib_ng default = any_zlib

Enables zlib-ng-compat of flate2, deflate_zlib_ng of gzp

libdeflate default

Enables libdeflate of gzp

snap_default default = snap, snappy

Enables snappy_default of gzp

gzp:

needs flate2 for compression type

any_zlib deflate_zlib? deflate_zlib_ng

internal feature flag

snappy snap_default

internal feature flag

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

snap snap_default