diff --git a/gui/Cargo.toml b/gui/Cargo.toml index f60ba37..0433118 100644 --- a/gui/Cargo.toml +++ b/gui/Cargo.toml @@ -94,19 +94,6 @@ async_cell = "^0.2.3" reqwest = { version = "^0.12.22", features = ["json"] } dioxus-asset-resolver = "0.7.2" -# Platform Integration -# ==================== -# rfd only supports windows, macos, linux, and wasm32. No support for Android or iOS -#[target.'cfg(any(target_os = "linux", target_os = "windows", target_os = "macos", target_arch = "wasm32"))'.dependencies] -rfd = { git = "https://github.com/PolyMeilex/rfd.git", version = "^0.16.0", default-features = false, optional = true } - -[target.'cfg(target_os = "android")'.dependencies] -# Android Permissions for Rust -android-permissions = "0.1.2" -# Rust bindings to the JNI -jni = "0.21.1" -# Handles for accessing Android APIs -ndk-context = "0.1.1" # Denoising # ========= @@ -115,6 +102,18 @@ deep_filter = { git = "https://github.com/Rikorose/DeepFilterNet.git", rev = "d3 ] } crossbeam = "0.8.4" +# Platform Integration +# ==================== +# rfd only supports windows, macos, linux, and wasm32. No support for Android or iOS +[target.'cfg(any(target_os = "linux", target_os = "windows", target_os = "macos", target_arch = "wasm32"))'.dependencies] +rfd = { git = "https://github.com/PolyMeilex/rfd.git", version = "^0.16.0", default-features = false, optional = true } + +# Android dependencies for requesting permissions +[target.'cfg(target_os = "android")'.dependencies] +android-permissions = "0.1.2" +jni = "0.21.1" +ndk-context = "0.1.1" + [patch.crates-io] tract-hir = "=0.12.4" tract-core = "=0.12.4"