new tasks, frontend crate platform features

This commit is contained in:
Martin Kavík 2024-06-01 23:06:27 +02:00
parent ea38f61058
commit e034a2bb14
3 changed files with 36 additions and 7 deletions

View file

@ -8,6 +8,9 @@ mod browser;
#[cfg(feature = "platform_browser")]
use browser as platform;
#[cfg(all(feature = "platform_tauri", feature = "platform_browser"))]
compile_error!("feature \"foo\" and feature \"bar\" cannot be enabled at the same time");
pub async fn show_window() {
platform::show_window().await
}