mirror of
https://github.com/TheFunny/TelegramTwitterMediaBot.git
synced 2026-09-23 23:32:05 +00:00
OpenSSL came from two removable defaults: teloxide's `default` feature (native-tls) and x-media's reqwest default features (default-tls). Switch both to rustls (webpki-roots) so the binary links no system TLS libs: - teloxide: default-features=false + rustls + ctrlc_handler (was part of the removed default) - reqwest (x-media): default-features=false + rustls-tls Verified: openssl-sys/native-tls gone from the tree, cargo check clean, all 5 live twitter/bsky fetches pass over rustls, full container startup works. The runtime image now needs no libssl.so.3/libcrypto.so.3 or CA bundle (ffmpeg only processes local files; all downloads go through reqwest), saving ~8MB.