http-salient 0.1.1

Simple http webserver
Documentation
1
2
3
4
5
6
7
8
9
use once_cell::sync::Lazy;
use http_salient::Server;

fn main() {
    static mut server: Lazy<Server> = Lazy::new(|| Server::new());

    // It's safe because we don't change server in multiple threads.
    unsafe { server.run() }
}