Registry / networking / async-native-tls

async-native-tls

JSON →
library0.6.0rscratesunverified

Native TLS using futures, providing async TLS streams backed by native-tls.

# Cargo.toml [dependencies] async-native-tls = "0.6.0"
INSTALL
IMPORT
SIG · ASYNC-NATIVE-TLS
A
async-native-tls
networkingrustv0.6.0
harness data pending
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.

TlsConnector
use async_native_tls::TlsConnector;

Create an async TLS connector.

use async_native_tls::TlsConnector; use futures::executor::block_on; fn main() { let connector = TlsConnector::new(); println!("TLS connector created"); }
Debug
Known issues
gotchaRequires an async runtime (e.g., tokio, async-std) to execute futures.
fix
Add a runtime dependency and use block_on or await.
affects: >=0.1.0
Upgrade
Version history
0.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
64 hits · last 30 days
node
54
Bingbot
1
OpenAI (training)
1
Resources
async-native-tls — cargo add async-native-tls · libregistry