diff --git a/Readme.md b/Readme.md index 8ad35f1..2f31604 100644 --- a/Readme.md +++ b/Readme.md @@ -81,4 +81,9 @@ let mut bot = MCTSBot::new(1000, 2.0, thread_rng()); println!("{:?}", bot.select_move(&board)) ``` +### Cargo features + +Each game has a separate cargo feature, and there's a `game_all` default feature that enables all games. +See [the docs](https://docs.rs/crate/board-game/latest/features) for a full list. + diff --git a/src/lib.rs b/src/lib.rs index 16b7552..50708a4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -91,12 +91,16 @@ //! println!("{:?}", bot.select_move(&board)) //! # } //! ``` +//! +//! ## Cargo features +//! +//! Each game has a separate cargo feature, and there's a `game_all` default feature that enables all games. +//! See [the docs](https://docs.rs/crate/board-game/latest/features) for a full list. // export used game crates #[cfg(feature = "game_arimaa")] pub use arimaa_engine_step; - #[cfg(feature = "game_chess")] pub use chess;