Crates.io | hyper-rustls |
lib.rs | hyper-rustls |
version | |
source | src |
created_at | 2016-10-08 09:37:41.910219+00 |
updated_at | 2024-12-20 15:20:05.608181+00 |
description | Rustls+hyper integration for pure rust HTTPS |
homepage | https://github.com/rustls/hyper-rustls |
repository | https://github.com/rustls/hyper-rustls |
max_upload_size | |
id | 6784 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This is an integration between the Rustls TLS stack and the hyper HTTP library.
Release history can be found on GitHub.
hyper-rustls is distributed under the following three licenses:
These are included as LICENSE-APACHE, LICENSE-MIT and LICENSE-ISC respectively. You may use this software under the terms of any of these licenses, at your option.
cargo run --example server
cargo run --example client "https://docs.rs/hyper-rustls/latest/hyper_rustls/"
This crate exposes a number of features to add support for different portions of hyper-util
,
rustls
, and other dependencies.
Feature flag | Enabled by default | Description |
---|---|---|
aws-lc-rs |
yes | Enables use of the AWS-LC backend for rustls |
http1 |
yes | Enables HTTP/1 support in hyper-util |
http2 |
no | Enables HTTP/2 support in hyper-util |
webpki-tokio |
no | Uses a compiled-in set of root certificates trusted by Mozilla (via webpki-roots ) |
native-tokio |
yes | Use the platform's native certificate store at runtime (via rustls-native-certs ) |
rustls-platform-verifier |
no | Use the operating system's verifier for certificate verification (via rustls-platform-verifier ) |
ring |
no | Enables use of the ring backend for rustls |
tls12 |
yes | Enables support for TLS 1.2 (only TLS 1.3 supported when disabled) |
logging |
yes | Enables logging of protocol-level diagnostics and errors via log |
fips |
no | Enables support for using a FIPS 140-3 compliant backend via AWS-LC (enables aws-lc-rs feature) |