denoland / deno_native_certs

Load native certificate store without static framework linking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The purpose of this crate is to improve Deno's startup time on MacOS.

On macOS, certificates are loaded from the system keychain. The user, admin and system trust settings are merged together as documented by Apple. The Security framework is dynamically loaded using dlopen to avoid initial dyld overhead.

On Linux and Windows, the rustls-native-certs crate is used.

About

Load native certificate store without static framework linking


Languages

Language:Rust 94.6%Language:TypeScript 5.4%