curl-rust
curl-rust copied to clipboard
Rust bindings to libcurl
libcurl considers the form api deprecated. in `curl_formadd(3)` one of the first lines says: > This function is deprecated. Use curl_mime_init(3) instead. This pull requests implements a safe wrapper of...
> ssl: Enable SSL/TLS support using the platform-default TLS backend. On Windows this is [Schannel](https://docs.microsoft.com/en-us/windows/win32/com/schannel), on macOS [Secure Transport](https://developer.apple.com/documentation/security/secure_transport), and [OpenSSL](https://www.openssl.org/) (or equivalent) on all other platforms. Enabled by default....
Hello, I started a new project with tokio and the [tapo](https://github.com/mihai-dinculescu/tapo) library as dependencies, but I'm getting a compilation error for `curl-sys v0.4.68+curl-8.4.0` when I try to `cargo run`. From...
Adding examples how to use Easy2 in downloading files
```rs use curl::easy::Easy; // Capture output into a local `Vec`. fn main() { let mut dst = Vec::new(); let mut easy = Easy::new(); easy.url("https://www.rust-lang.org/").unwrap(); let mut transfer = easy.transfer(); transfer.write_function(|data|...
Hello Are there plans for versioning up the crate?
When curl-rust is using the bundled libcurl, it will silently limit the expiry time (unix timestamp) of received cookies to i32::MAX (2147483647), for example: ``` < Set-Cookie: LSID=DQAAAKEaem_vYg; Expires=Thu, 13...
I'm trying to test HTTP3 with curl-rust on macOS, so I want to link against a custom version of libcurl (that supports HTTP3). In https://github.com/alexcrichton/curl-rust/blob/ff6ad21cc1034826b2ab3f8be0653d8c446e1bdc/curl-sys/build.rs#L18-L19 there is a feature flag...
I'm evaluating rust for enterprise software development. It's crucial for us to have simple way to make http requests with Kerberos and NTLM authentication. I found no other crates that...
This change addresses two issues building for Windows: * Allow using `vcpkg` on any Windows build, not just MSVC. `vcpkg-rs` includes `curl-sys` as part of its integration tests, but `curl-sys`...