Add program::Preset and emulator::Mode

This commit is contained in:
Héctor Ramón Jiménez 2025-06-04 19:17:11 +02:00
parent 927d5b7cba
commit 73f5569f28
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
17 changed files with 305 additions and 39 deletions

View file

@ -46,7 +46,9 @@ debug = ["iced_winit/debug", "iced_devtools"]
# Enables time-travel debugging (very experimental!)
time-travel = ["debug", "iced_devtools/time-travel"]
# Enables the tester developer tool for recording and playing tests (press F12)
tester = ["debug", "iced_devtools/tester"]
tester = ["debug", "test", "iced_devtools/tester"]
# Enables testing features (e.g. application presets)
test = ["iced_program/test"]
# Enables the `thread-pool` futures executor as the `executor::Default` on native platforms
thread-pool = ["iced_futures/thread-pool"]
# Enables `tokio` as the `executor::Default` on native platforms
@ -80,10 +82,10 @@ sipper = ["iced_runtime/sipper"]
iced_debug.workspace = true
iced_core.workspace = true
iced_futures.workspace = true
iced_program.workspace = true
iced_renderer.workspace = true
iced_runtime.workspace = true
iced_widget.workspace = true
iced_winit.features = ["program"]
iced_winit.workspace = true
iced_devtools.workspace = true