Registry / networking / tls-api-2

tls-api-2

JSON →
library0.11.0rscratesunverified

TLS API without implementation, providing abstract interfaces for TLS.

# Cargo.toml [dependencies] tls-api-2 = "0.11.0"
INSTALL
IMPORT
SIG · TLS-API-2
T
tls-api-2
networkingrustv0.11.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 tls_api_2::TlsConnector;

Imports the TlsConnector trait for TLS connections.

use tls_api_2::TlsConnector; fn main() { // Requires a concrete implementation println!("TLS API trait imported"); }
Debug
Known issues
gotchaThis crate provides only traits; you need a backend like tls-api-native-tls or tls-api-rustls.
fix
Add a backend crate and enable its feature.
affects: >=0.1.0
Upgrade
Version history
0.11.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
tls-api-2 — cargo add tls-api-2 · libregistry