rust-web-server 18.4.0

Single-binary web server and reverse proxy: automatic HTTPS (Let's Encrypt), HTTP/1.1, HTTP/2 and HTTP/3, load balancing, auth and rate limiting, configured in one TOML file. Also a Rust library: routing, middleware, MCP server, ORM, background jobs. No hyper, no Tower; HTTP/2 and HTTP/3 framing via h2 and quinn.
Documentation
use crate::null::{Null, NULL};

#[test]
fn null_check() {

    let clone = NULL.clone();
    assert_eq!(*NULL, clone);

    let to_string = NULL.to_string();
    assert_eq!("null".to_string(), to_string);

    let debug = format!("{:?}", NULL);
    assert_eq!("null".to_string(), debug);

    let parsed : Null = "null".parse::<Null>().unwrap();
    assert_eq!(parsed, *NULL);

    let parse_error = "notnull".parse::<Null>();
    assert!(parse_error.is_err());

    let error_message = parse_error.err().unwrap();
    assert_eq!("error parsing null: notnull", error_message.message);

}