Cargo Features

[dependencies]
slow5lib-sys = { version = "0.10.0+slow5lib.1.3.0", default-features = false, features = ["zstd", "zlib-ng"] }
default = zstd

The zstd feature is set by default whenever slow5lib-sys is added without default-features = false somewhere in the dependency tree.

zstd default = zstd-sys
zlib-ng

Enables zlib-ng of libz-sys

libz-sys:

(Omit the libc feature if you don't require the corresponding functions.)

This allows higher-level crates depending on your library to opt into zlib-ng if desired.

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.

zstd-sys zstd