Cargo Features

ZST has no features set by default.

[dependencies]
zst = { version = "0.1.2", features = ["const_trait_impl", "const_default_impls", "const_fn_trait_bound"] }

build.rs also generates other features for cfg macros

const_trait_impl
const_default_impls = const_fn
const_fn_trait_bound

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.

const_fn const_default_impls?