Cargo Features
[dependencies]
beehive = { version = "0.1.1", default-features = false, features = ["collections", "serde-1", "rand-07"] }
- default = collections, serde-1
-
These default features are set whenever
beehive
is added without
somewhere in the dependency tree.default-features = false - collections default = thiserror
-
Affects
beehive::collections
… - serde-1 default = serde
- rand-07 = rand
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.
- serde serde-1
- rand rand-07?
-
Enables rand ^0.7
- thiserror collections
-
Enables thiserror ^1.0