Repository navigation
How to Build This Project On Ubuntu Linux #673
Replies: 3 comments
|
Welcome to Rust! curl-rust is not an application that can be run, so you cannot use That said, if you just want to compile curl-rust by itself, you can do so with |
|
Hey Sagebind, Thanks for the response. Thanks, |
|
Sure, you can supply client certificates using the appropriate options in your request. curl-rust is a pretty thin wrapper around the libcurl C API, so generally any examples using libcurl you can find will translate pretty easily to Rust. Pro tip: If you add the |

Welcome to Rust!
curl-rust is not an application that can be run, so you cannot use
cargo runas there is nomainfunction to run. Rather, curl-rust is a library that you can add as a dependency to your application to use. For example, you can create a new Cargo project usingcargo newand then add curl-rust as a dependency to your project usingcargo add curl. See also this section in The Cargo Book. You do not need to clone this repository in order to use it as a dependency in your code.That said, if you just want to compile curl-rust by itself, you can do so with
cargo build.