Skip to content
web framework made with ❤
Rust
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
.travis.yml
Cargo.toml
LICENSE
README.md

README.md

Boron Build Status

A web framework made with ❤

Boron was born as an attempt to learn Rust as we go along making a web framework. It aims to be a fast and minimalist web framework.

This is a work in progress and expect a lot of things to break at the moment.

Create your first app

extern crate boron;

use boron::server::Boron;
use boron::request::Request;
use boron::response::Response;
use boron::router::HttpMethods;

fn main() {
    let mut app = Boron::new();
    app.get("/", |req: Request, res: Response| {
        res.send(b"Hello World! I am Boron.");
    });
    app.listen("localhost:3000");
}

Add the following line to your [dependencies] section in Cargo.toml:

boron = "0.0.2"

Contributing

You want to contribute? Awesome! We need help.

Fork the repo, start hacking away and send us your pull requests. We maintain a list of things to do on the issues page.

License

MIT

You can’t perform that action at this time.