File size: 565 Bytes
88d4171
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
pub mod core;
#[cfg(feature = "extension-module")]
pub mod py_bindings;
pub mod wasm_bindings;

#[cfg(test)]
mod tests;
#[cfg(test)]
mod mechanics_tests;
#[cfg(test)]
mod baton_pass_tests;
#[cfg(test)]
mod structural_tests;
#[cfg(test)]
mod deck_refresh_tests;
#[cfg(test)]
mod ability_tests;
#[cfg(test)]
mod opcode_tests;

#[cfg(feature = "extension-module")]
use pyo3::prelude::*;

#[cfg(feature = "extension-module")]
#[pymodule]
fn engine_rust(m: &Bound<'_, PyModule>) -> PyResult<()> {
    py_bindings::register_python_module(m)
}