Remove test feature and expose Preset unconditionally

This commit is contained in:
Héctor Ramón Jiménez 2025-08-27 02:33:58 +02:00
parent 1923d1db1e
commit 0b00fcfff5
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
11 changed files with 41 additions and 43 deletions

View file

@ -4,10 +4,8 @@ pub use iced_runtime as runtime;
pub use iced_runtime::core;
pub use iced_runtime::futures;
#[cfg(feature = "test")]
mod preset;
#[cfg(feature = "test")]
pub use preset::Preset;
use crate::core::renderer;
@ -107,7 +105,6 @@ pub trait Program: Sized {
1.0
}
#[cfg(feature = "test")]
fn presets(&self) -> &[Preset<Self::State, Self::Message>] {
&[]
}