charl1e7 / rust-translators

Free Google Translator, Deepl without API key and limits.
MIT License
6 stars 0 forks source link

This crate doesn't compile for Android #2

Open ndpm13 opened 1 month ago

ndpm13 commented 1 month ago

I tried using this crate in a Tauri project but I couldn't build it for Android for some reason, the error was unclear and ridiculously long. Also the same project builds fine after removing the crate from Cargo.toml.

System Info

OS: Artix Linux (OpenRC) Rust: Latest stable

charl1e7 commented 1 month ago

The error is coming from the "reqwest" library. You can simply create an empty repository with openssl-sys = { version = "x", features = ["vendored"] } and try to figure out why it can't build with cargo build --target armv7-linux-androideabi