alexcrichton / curl-rust

Rust bindings to libcurl
MIT License
1.02k stars 233 forks source link

Windows build with static OpenSSL #398

Closed DBLouis closed 3 years ago

DBLouis commented 3 years ago

Is it possible to build curl with a static OpenSSL for Windows 10, using cargo with --target x86_64-pc-windows-gnu?

alexcrichton commented 3 years ago

For this you'll want to enable the vendored feature of the openssl-sys crate, which can be done with the static-ssl feature on this crate.