protohackers/problem_06/src/lib.rs

16 lines
291 B
Rust
Raw Normal View History

2023-05-06 05:41:24 +00:00
mod connection;
pub use connection::Connection;
pub mod frame;
pub use frame::Frame;
pub mod server;
mod shutdown;
use shutdown::Shutdown;
pub const DEFAULT_PORT: u16 = 1222;
pub type Error = Box<dyn std::error::Error + Send + Sync>;
pub type Result<T> = std::result::Result<T, Error>;