Files
SpotiFLAC-Mobile/rust_backend/crates/network/Cargo.toml
T
zarzet aa99726439 feat(backend): migrate production backend to Rust
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.
2026-09-14 22:58:27 +07:00

38 lines
916 B
TOML

[package]
name = "spotiflac-network"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
publish.workspace = true
[dependencies]
tokio.workspace = true
hyper.workspace = true
hyper-util.workspace = true
hyper-rustls.workspace = true
rustls.workspace = true
rustls-pemfile.workspace = true
http.workspace = true
http-body-util.workspace = true
bytes.workspace = true
futures-util.workspace = true
tokio-util.workspace = true
async-compression.workspace = true
tower-service.workspace = true
hickory-proto.workspace = true
cookie.workspace = true
url.workspace = true
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
[target.'cfg(target_vendor = "apple")'.dependencies]
rustls-platform-verifier.workspace = true
[target.'cfg(not(target_vendor = "apple"))'.dependencies]
rustls-native-certs.workspace = true
[lints]
workspace = true