Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.
/ trek Public archive

[Unpublished] Fast, effective, minimalist web framework for Rust

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

viz-rs/trek

Repository files navigation

Trek

Fast, effective, minimalist web framework for Rust

Based on Futures, Hyper, Tokio or Async-std.

CI Status

Features

  • Safety

Hello Trek

#[macro_use]
extern crate log;

use trek::Trek;

#[tokio::main]
async fn main() {
    pretty_env_logger::init();

    let app = Trek::new();

    if let Err(e) = app.run("127.0.0.1:8000").await {
        error!("Error: {}", e);
    }
}

License

This project is licensed under either of

at your option.

Thanks

Some ideas from Tide, Actix, Rocket, Warp, Phoenix, Echo, Gin. Thanks for these excellent projects.

BTW

Thanks to Brent Houghton houghton.brent@gmail.com. He is the first owner of the trek package on Crates.io.

About

[Unpublished] Fast, effective, minimalist web framework for Rust

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published