openssl-probe (0.1.6)
Published 2026-03-26 11:00:50 +00:00 by siennathesane
Installation
[registry]
default = "gitea"
[registries.gitea]
index = "sparse+ " # Sparse index
# index = " " # Git
[net]
git-fetch-with-cli = truecargo add openssl-probe@0.1.6About this package
Tool for helping to find SSL certificate locations on the system for OpenSSL
openssl-probe
Tool for helping to find SSL certificate locations on the system for OpenSSL
Usage
First, add this to your Cargo.toml:
[dependencies]
openssl-probe = "0.1.6"
Then add this to your crate:
fn main() {
let result = openssl_probe::probe();
if let Some(dir) = &result.cert_dir {
//... your code
}
if let Some(file) = &result.cert_file {
//... your code
}
}
License
openssl-probe is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0),
with portions covered by various BSD-like licenses.
See LICENSE-APACHE, and LICENSE-MIT for details.
Details
2026-03-26 11:00:50 +00:00
Assets (1)
Versions (2)
View all
Cargo
0
Alex Crichton <alex@alexcrichton.com>
MIT/Apache-2.0
7.6 KiB
openssl-probe-0.1.6.crate
7.6 KiB