Cargo Features

[dependencies]
binary-layout = { version = "4.0.2", default-features = false, features = ["std"] }
default = std

The std feature is set by default whenever binary-layout is added without default-features = false somewhere in the dependency tree.

std default = thiserror

TODO Once we're rust 1.60+ only, we should write "dep:thiserror" instead of "thiserror"

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.

thiserror std

Enables thiserror ^1.0.29