Files
openworm/src/net/mod.rs
2026-01-26 13:53:51 -05:00

23 lines
423 B
Rust

mod conversion;
mod data;
mod msg;
mod no_cert;
mod request;
mod transfer;
pub use data::{ClientMsgInst, ServerMsgInst};
pub use msg::*;
pub use no_cert::*;
pub use request::*;
pub use transfer::*;
pub const SERVER_NAME: &str = "openworm";
pub type ServerResp<T> = Result<T, String>;
pub fn install_crypto_provider() {
quinn::rustls::crypto::ring::default_provider()
.install_default()
.unwrap();
}