Cargo Features

[dependencies]
osm-pbf-reader = { version = "0.1.1", default-features = false, features = ["zlib", "zlib-ng-compat", "lzma"] }
default = lzma, zlib-ng-compat

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

zlib zlib-ng-compat

Enables zlib of flate2

zlib-ng-compat default = zlib

Enables zlib-ng-compat of flate2

lzma default = xz2

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.

xz2 lzma