Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.
fix(android): use system allocator
Samir Hossainsc5d8cb33eadb
diff --git a/Cargo.toml b/Cargo.tomlindex b894d76..fe73e06 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -41,7 +41,6 @@ tokio = { version = "1.52.3", features = ["rt-multi-thread", "macros", "sync", "url = "2.5.8"unicode-segmentation = "1.12.0"unicode-width = "0.2.0"-mimalloc = "0.1.52"open = "5.4.0"percent-encoding = "2.3.2"log = "0.4.33"@@ -66,6 +65,7 @@ strip = true[target.'cfg(not(target_os = "android"))'.dependencies]reqwest = { version = "0.13.4", default-features = false, features = ["json", "rustls"] }+mimalloc = "0.1.52"[target.'cfg(target_os = "android")'.dependencies]reqwest = { version = "0.13.4", default-features = false, features = ["json", "rustls", "hickory-dns"] }diff --git a/src/main.rs b/src/main.rsindex e61652e..973c43e 100644--- a/src/main.rs+++ b/src/main.rs@@ -1,5 +1,6 @@use moviebox_tui::tui::app::App;+#[cfg(not(target_os = "android"))]#[global_allocator]static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;