Projects
View on GitHub
fengsp/pencil
fengsp/pencil has 871 GitHub stars and 37 forks. GitHot measured 0 stars in 24 hours and -1 in 7 days. Last checked 2026-11-21 06:02 UTC. Last push 2017-04-30.
Measured star growth
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
A web application microframework for Rust
Web & AppsREADME.md
Original#Pencil
A microframework for Rust inspired by Flask.
extern crate pencil;
use pencil::{Pencil, Request, Response, PencilResult};
fn hello(_: &mut Request) -> PencilResult {
Ok(Response::from("Hello World!"))
}
fn main() {
let mut app = Pencil::new("/web/hello");
app.get("/", "hello", hello);
app.run("127.0.0.1:5000");
}
One simple guide: https://fengsp.github.io/blog/2016/3/introducing-pencil/
If you feel anything wrong, feedbacks or pull requests are welcome.