docs: rework RUSTLS install instructions

Describes using a package manager or pre-built binaries and adopts the
0.15 installation from source instructions.

Previously the rustls docs described installing rustls-ffi from source
using the GNU Makefile. The upstream project has switched to using
cargo-c as a cross-platform solution that works well with the rust
toolchain, pkg-config, and Windows and so this needs an update.

Similarly, for folks that want to avoid the extra cargo-c tool
requirement, rustls-ffi provides binary releases for common platforms,
and some Linux distributions/package managers offer pre-built packages.

The install instructions are expanded to cover these options since
they're generally better for end users than building the dep. from
source (no `rustc` required).
This commit is contained in:
Daniel McCarney 2025-03-16 12:38:24 -04:00 committed by Daniel Stenberg
parent 0c20e9bf1a
commit 14761d8b61
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 60 additions and 10 deletions

View file

@ -722,6 +722,7 @@ Ruslan
rustc
Rustls
rustls
rustup
Sagula
SanDisk
SAS