tela 0.1.3

Web framework that focuses on ease of use and simplicity
Documentation
1
2
3
4
5
6
7
8
9
10
extern crate tela;
use tela::Server;

// Run `cargo run --example assets`
// Serve static assets from a given asset path.
#[tela::main]
async fn main() {
    // This gives access to all files from the `files` example
    Server::new().assets("examples/assets/").serve(3000).await
}