#![deny(unsafe_code)]
#[cfg(not(target_family = "wasm"))]
pub mod exports {
pub use openssl;
pub use quinn::{Accept, Connecting, Connection, Endpoint, RecvStream, SendStream};
pub use rustls::pki_types::pem::PemObject;
pub use rustls::pki_types::{CertificateDer as Certificate, PrivateKeyDer as PrivateKey};
pub use rustls::ClientConfig;
pub use tokio_rustls;
}
#[cfg(target_family = "wasm")]
pub mod exports {
#[derive(Clone, Debug)]
pub struct Connection;
#[derive(Clone, Debug)]
pub struct Endpoint;
pub struct RecvStream;
pub struct SendStream;
pub mod tokio_rustls {
pub mod rustls {
#[derive(Clone, Debug)]
pub struct ClientConfig;
pub mod pki_types {
#[derive(Clone, Debug)]
pub struct CertificateDer;
#[derive(Clone, Debug)]
pub struct PrivateKeyDer;
}
}
}
pub use self::tokio_rustls::rustls::ClientConfig;
}
pub mod error;
pub mod udp_traversal;
pub mod hypernode_type;
pub(crate) mod standard;
pub use standard::*;