Cargo Features
[dependencies]
woah = { version = "0.4.5", default-features = false, features = ["std", "nightly", "either", "serde"] }
- default = either, std
-
The most features with minimal build time / size impact.
- std default
-
Use types from the standard library. If
either
is enabled, turn onstd
for it.Enables use_std of optional either
Optional, provides methods that operate on both error variants.
- nightly
-
Enable all nightly-only features of the crate. Enable only on a nightly Rust toolchain.
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.