cargo-mobile2 icon indicating copy to clipboard operation
cargo-mobile2 copied to clipboard

openssl dependency is included on macos regardless whether native-tls is enabled or not

Open FabianLars opened this issue 2 years ago • 0 comments

Describe the bug openssl is always a dependency on macos, there was someone on discord where cargo install tauri-cli failed because of openssl. This may be a bit tricky to fix because openssl types are part of the public api here (though as far as i can see only in functions not used by wry/tauri if we only care about that)

Steps To Reproduce x

Expected behavior openssl should only be used with the native-tls flag. Otherwise it should use rust based alternatives

Screenshots x

Platform and Versions (please complete the following information): Host OS: macos Target OS: x Rustc: 1.74 cargo mobile doctor: fails before being able to install it (assumption)

Would you want to assign yourself to resolve this bug?

  • [ ] Yes
  • [ ] No
  • [x] Maybe, if someone tells me what to do about the public apis 😅

Additional context x

FabianLars avatar Dec 12 '23 10:12 FabianLars