nano-web 1.4.2

Static file server built with Rust with pre-compressed in-memory caching
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[cfg(target_env = "musl")]
#[global_allocator]
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;

use anyhow::Result;
use clap::Parser;
use nano_web::cli;

#[tokio::main]
async fn main() -> Result<()> {
    let cli = cli::Cli::parse();

    cli.run().await
}