# static-server2 **Repository Path**: nur/static-server2 ## Basic Information - **Project Name**: static-server2 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: 404fallback - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-10-18 - **Last Updated**: 2023-10-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # static-server simple static file server written in Rust based on [axum](https://github.com/tokio-rs/axum) framework I'm learning Rust and axum. My thought is simple. axum has a [static-file-server](https://github.com/tokio-rs/axum/tree/main/examples/static-file-server) example, which only serve static files under a directory and does not list the directory index. it also has a [templates](https://github.com/tokio-rs/axum/tree/main/examples/templates) example which uses askama as template engine to parse a Jinja2 like template. I thought I could simply combine the code of the two and my job is done -_- But things didn't go in the way I thought