Cargo Features

[dependencies]
osmpbf = { version = "0.3.3", default-features = false, features = ["rust-zlib", "zlib", "zlib-ng"] }
default = rust-zlib

The rust-zlib feature is set by default whenever osmpbf is added without default-features = false somewhere in the dependency tree.

rust-zlib default

Enables rust_backend of flate2

zlib

Enables zlib of flate2

zlib-ng

Enables zlib-ng of flate2

osmpbf has 4 features without comments.