mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-12 10:47:31 +02:00
Replace the Go backend with the Rust workspace and route Android/iOS through UniFFI bindings. Include the migrated extension runtime, network, providers, media metadata, downloads and library operations, with version 5.0.0+147. Remove Go sources, adapters, native build selection and CI dependencies. Build Rust unconditionally and lock the iOS Rust pod using a relative path. Retain legacy source and migration evidence in a local ignored archive. Validation: Android Kotlin compile and 53 native tests; Swift Rust-branch equivalence and syntax; CocoaPods install; workflow, shell, Ruby, plist and diff checks. Reuse the preceding 100 Rust tests, fmt/Clippy and five-ABI build checkpoint; no new APK or iOS application build for this cleanup. Known follow-up: URL/URLSearchParams globals are missing from the Rust JS runtime. A controlled extension replay confirms a URL-resolution regression; this commit does not fix that runtime gap.
36 lines
693 B
Rust
36 lines
693 B
Rust
//! Extension JavaScript execution and host services, isolated from mobile UI code.
|
|
|
|
pub mod auth;
|
|
pub mod backend;
|
|
mod binary;
|
|
pub mod crypto;
|
|
mod crypto_host;
|
|
mod download;
|
|
mod download_host;
|
|
pub mod environment;
|
|
pub mod ffmpeg;
|
|
mod ffmpeg_host;
|
|
mod file_host;
|
|
mod file_transform;
|
|
pub mod files;
|
|
mod host;
|
|
mod legacy_host;
|
|
pub mod logging;
|
|
pub mod lyrics;
|
|
pub mod manager;
|
|
pub mod manifest;
|
|
mod network_host;
|
|
pub mod package;
|
|
mod provider;
|
|
mod redact;
|
|
pub mod repository;
|
|
mod resolution;
|
|
mod runtime;
|
|
mod session_host;
|
|
pub mod signed_session;
|
|
pub mod storage;
|
|
pub mod transfer_policy;
|
|
mod utility_host;
|
|
|
|
pub use runtime::{ExtensionError, ExtensionRuntime, ExtensionServices, RuntimeLimits};
|