Registry / networking / rustls-native-certs

rustls-native-certs

JSON →
library0.8.4rscratesunverified

Allows rustls to use the platform native certificate store for TLS verification.

# Cargo.toml [dependencies] rustls-native-certs = "0.8.4"
INSTALL
IMPORT
SIG · RUSTLS-NATIVE-CERT
R
rustls-native-certs
networkingrustv0.8.4
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.

load_native_certs
use rustls_native_certs::load_native_certs;

Load platform native certificates for use with rustls.

use rustls_native_certs::load_native_certs; fn main() { let certs = load_native_certs().expect("could not load platform certs"); println!("Loaded {} certificates", certs.len()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
Resources
rustls-native-certs — cargo add rustls-native-certs · libregistry