Cargo Features
[dependencies]
binary-layout = { version = "4.0.2", default-features = false, features = ["std"] }
- default = std
-
The
std
feature is set by default wheneverbinary-layout
is added without
somewhere in the dependency tree.default-features = false - 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.