You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
phd/src/lib.rs

22 lines
642 B
Rust

//! phd is a small, easy-to-use Gopher server that tries to make
//! serving up a Gopher site quick and painless. Best used for local
//! development or low traffic Gopher sites.
#![allow(unused_must_use)]
#![warn(absolute_paths_not_starting_with_crate)]
#![warn(explicit_outlives_requirements)]
#![warn(unreachable_pub)]
#![warn(deprecated_in_future)]
#![warn(missing_docs)]
#![allow(clippy::while_let_on_iterator)]
pub mod color;
pub mod gopher;
pub mod request;
pub mod server;
pub use crate::request::Request;
/// Alias for a generic Result type.
pub type Result<T> = std::result::Result<T, Box<dyn std::error::Error + Send + Sync>>;