Cargo Features
[dependencies]
sortr = { version = "0.1.2", default-features = false, features = ["bogo", "bubble", "heap", "insertion", "merge"] }
- default = bogo, bubble, heap, insertion, merge
-
These default features are set whenever
sortr
is added without
somewhere in the dependency tree.default-features = false - bogo default = rand
-
Affects
sortr::bogo
… - bubble default
-
Affects
sortr::bubble
… - heap default
-
Affects
sortr::heap
… - insertion default
-
Affects
sortr::insertion
… - merge default
-
Affects
sortr::merge
…
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 bogo
-
Enables rand ^0.7.3