Registry / http-client / hyper-rustls

hyper-rustls

JSON →
library0.27.9rscratesunverified

Rustls+hyper integration for pure rust HTTPS.

http-clientnetworking
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use hyper_rustls::HttpsConnector;

Make an HTTPS request using hyper with rustls.

use hyper::Client; use hyper_rustls::HttpsConnector; #[tokio::main] async fn main() -> Result<(), Box<dyn std::error::Error>> { let https = HttpsConnector::new(); let client = Client::builder().build(https); let res = client.get("https://example.com".parse()?).await?; println!("Status: {}", res.status()); Ok(()) }
Debug
Known footguns
gotchaRequires Tokio runtime for async execution
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
15 hits · last 30 days
gptbot
3
amazonbot
3
claudebot
3
mj12bot
1
Resources