diff --git a/src/optimiser.rs b/src/optimiser.rs index 2c86ee0f..0760d0d3 100644 --- a/src/optimiser.rs +++ b/src/optimiser.rs @@ -3,4 +3,7 @@ //! Currently, the only optimiser is TASO pub mod taso; -pub use taso::{DefaultTasoOptimiser, TasoOptimiser}; + +#[cfg(feature = "portmatching")] +pub use taso::DefaultTasoOptimiser; +pub use taso::TasoOptimiser;