Skip to content

benedictweis/lightyear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lightyear ☄️

A lightning fast web server written in rust, inspired by express syntax

Usage

Express like syntax

use lightyear::Lightyear;

let mut app = Lightyear::new();
let port = 3000;

app.get("/", | req, res | {
    res.send("Hello World!");
});

app.listen(port, | | {
    println!("Example app listening on port {}", port);
});

About

A lightning fast http server written in rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages