mirror of
https://github.com/curl/curl.git
synced 2026-08-24 20:43:47 +03:00
parent
1fef5922da
commit
76d9e07c6b
3 changed files with 21 additions and 14 deletions
|
|
@ -3,7 +3,7 @@
|
|||
[Rustls is a TLS backend written in Rust.](https://docs.rs/rustls/). Curl can
|
||||
be built to use it as an alternative to OpenSSL or other TLS backends. We use
|
||||
the [rustls-ffi C bindings](https://github.com/rustls/rustls-ffi/). This
|
||||
version of curl depends on version v0.7.0 of rustls-ffi.
|
||||
version of curl depends on version v0.8.0 of rustls-ffi.
|
||||
|
||||
# Building with rustls
|
||||
|
||||
|
|
@ -12,7 +12,7 @@ First, [install Rust](https://rustup.rs/).
|
|||
Next, check out, build, and install the appropriate version of rustls-ffi:
|
||||
|
||||
% cargo install cbindgen
|
||||
% git clone https://github.com/rustls/rustls-ffi -b v0.7.0
|
||||
% git clone https://github.com/rustls/rustls-ffi -b v0.8.0
|
||||
% cd rustls-ffi
|
||||
% make
|
||||
% make DESTDIR=${HOME}/rustls-ffi-built/ install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue