From dfcf787cf24d061845556177fd52da53cfca9fec Mon Sep 17 00:00:00 2001 From: Luca Mondada Date: Tue, 26 Sep 2023 19:24:29 +0200 Subject: [PATCH] Expose DefaultTasoOptimiser when portmatching is enabled --- src/optimiser.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;