refact: add cargo "python" feature for pyo3

This commit is contained in:
Henri Bourcereau 2026-03-25 16:04:06 +01:00
parent 48a7fc43ad
commit 12ae7e9d68
7 changed files with 12 additions and 6 deletions

View file

@ -20,6 +20,7 @@ pub use dice::{Dice, DiceRoller};
pub mod training_common;
// python interface "trictrac_engine" (for AI training..)
#[cfg(feature = "python")]
mod pyengine;
// C++ interface via cxx.rs (for OpenSpiel C++ integration)