[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 [crustls C bindings](https://github.com/abetterinternet/crustls/). This
-version of curl depends on version v0.6.0 of crustls.
+the [rustls-ffi C bindings](https://github.com/rustls/rustls-ffi/). This
+version of curl depends on version v0.7.0 of crustls.
# Building with rustls
Next, check out, build, and install the appropriate version of crustls:
% cargo install cbindgen
- % git clone https://github.com/abetterinternet/crustls/ -b v0.6.0
+ % git clone https://github.com/rustls/rustls-ffi -b v0.7.0
% cd crustls
% make
% make DESTDIR=${HOME}/crustls-built/ install
% git clone https://github.com/curl/curl
% cd curl
% ./buildconf
- % ./configure --without-ssl --with-rustls=${HOME}/crustls-built
+ % ./configure --with-rustls=${HOME}/crustls-built
% make
if [ "$TRAVIS_OS_NAME" = linux -a "$RUSTLS_VERSION" ]; then
cd $HOME
- git clone --depth=1 --recursive https://github.com/abetterinternet/crustls.git -b "$RUSTLS_VERSION"
+ git clone --depth=1 --recursive https://github.com/rustls/rustls-ffi.git -b "$RUSTLS_VERSION"
curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
cargo install cbindgen