Cargo Features

blosc2-sys has no features set by default.

[dependencies]
blosc2-sys = { version = "0.3.1+2.15.1", features = ["shared", "use-system-blosc2", "deactivate-zlib", "deactivate-zstd", "prefer-external-lz4", "regenerate-bindings"] }
static shared
use-system-blosc2 build

Enables pkg-config

deactivate-zlib-optim deactivate-zlib
prefer-external-zlib deactivate-zstd
prefer-external-zstd prefer-external-lz4
regenerate-bindings = bindgen

Regenerate the bindings to c-blosc2 header

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.

bindgen build regenerate-bindings?

Enables bindgen ^0.69