mirror of
https://github.com/YGGverse/agate.git
synced 2026-04-08 20:45:29 +00:00
Use rustls via tokio-rustls re-export
This commit is contained in:
parent
75cf6024b6
commit
df41668b15
5 changed files with 15 additions and 12 deletions
|
|
@ -1,16 +1,17 @@
|
|||
use {
|
||||
rustls::{
|
||||
crypto::ring::sign::any_supported_type,
|
||||
pki_types::{self, CertificateDer, PrivateKeyDer},
|
||||
server::{ClientHello, ResolvesServerCert},
|
||||
sign::{CertifiedKey, SigningKey},
|
||||
},
|
||||
std::{
|
||||
ffi::OsStr,
|
||||
fmt::{Display, Formatter},
|
||||
path::Path,
|
||||
sync::Arc,
|
||||
},
|
||||
tokio_rustls::rustls::{
|
||||
self,
|
||||
crypto::ring::sign::any_supported_type,
|
||||
pki_types::{self, CertificateDer, PrivateKeyDer},
|
||||
server::{ClientHello, ResolvesServerCert},
|
||||
sign::{CertifiedKey, SigningKey},
|
||||
},
|
||||
};
|
||||
|
||||
/// A struct that holds all loaded certificates and the respective domain
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue