Cargo Features
[dependencies]
gamie = { version = "0.9.1", default-features = false, features = ["std", "connect_four", "gomoku", "minesweeper", "reversi", "tictactoe", "bincode", "serde"] }
- default = std
-
The
std
feature is set by default whenevergamie
is added without
somewhere in the dependency tree.default-features = false - std default
-
snafu:
Implement the
std::error::Error
trait. - connect_four
-
Affects
gamie::connect_four
… - gomoku
-
Affects
gamie::gomoku
… - minesweeper = rand
-
Affects
gamie::minesweeper
… - reversi
-
Affects
gamie::reversi
… - tictactoe
-
Affects
gamie::tictactoe
…
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.
- bincode implicit feature
- rand minesweeper?
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework