rapiz1 / rathole

A lightweight and high-performance reverse proxy for NAT traversal, written in Rust. An alternative to frp and ngrok.
Apache License 2.0
8.8k stars 440 forks source link

fix musl non-TLS build #365

Closed Arnie97 closed 3 weeks ago

Arnie97 commented 3 weeks ago

This patch fixes two problems:

  1. Cargo refuses to compile with musl target and without native-tls feature. Since #301, openssl was incorrectly declared as a required dependency for musl, even if the the native-tls feature is disabled.
  2. The time crate refuses to compile on 1.80.0-nightly toolchain. Bumped it to include the relevant patch https://github.com/time-rs/time/pull/671