Cargo Features
[dependencies]
sweeper = { version = "1.0.0-rc3", default-features = false, features = ["std", "generation", "serialization", "track_caller"] }
- default = generation, serialization, std
-
These default features are set whenever
sweeper
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of rand ^0.7 and serde
rand:
Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.
- generation default = rand
- serialization default = serde
- track_caller
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.
- rand generation std
-
Enables rand ^0.7
- serde serialization std