Cargo Features
[dependencies]
pong-cli = { version = "1.0.1", default-features = false, features = ["random", "style", "nightly"] }
- default = random, style
-
These default features are set whenever
pong-cli
is added without
somewhere in the dependency tree.default-features = false - random default = rand
- style default
-
Enables style of crossterm ^0.12.1
Affects
drawable::Drawable.style
,char_data::SettingsCharData.style
… - nightly
-
Enables nightly of specs ^0.15.1
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 random
-
Enables rand ^0.7.2