🔥 afire
afire is a blazing fast web server micro framework for rust.
💠Install
Just add the following to your Cargo.toml:
[]
= "1.2.0"
📄 Info
afire is a simple synchronous multithreaded express.js inspired rust web micro framework. wow that was long. It comes with some built extensions in for Static File Serving, Rate limiting, more.
Below you can fine links to some afire related resources.
💥 Example
For more examples see the examples directory here.
Below is a super simple example so you can see the basics of aire syntax.
// Import Lib
use ;
// Create Server
let mut server = new;
// Add a route
server.route;
// Start the server
// This is blocking
# server.set_run;
server.start.unwrap;
💼 License
afire is licensed under the MIT license so you are free to do basically whatever you want with it as long as you add a copyright notice. You can read the full license text here.