Cargo Features
Rat-salsa has no features set by default.
[dependencies]
rat-salsa = { version = "4.0.2", features = ["async", "dialog", "dialog_widgets"] }
- async
-
enable tokio support for async tasks.
Enables tokio
Affects
rat-salsa::SalsaContext.spawn_async,rat-salsa::SalsaContext.spawn_async_ext… - dialog dialog_widgets? = try_as_traits
-
enable support for dialog windows
Affects
rat-salsa::dialog_stack… - dialog_widgets = dialog, rat-widget
-
add functions to use rat_widget::MsgDialog and rat_widget::FileDialog as dialog windows.
Affects
dialog_stack::file_dialog,dialog_stack::msgdialog…
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.