Tsukuyomi

Asynchronous Web framework for Rust
Alternatives To Tsukuyomi
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Fiber26,55265618 hours ago275September 08, 202254mitGo
⚡️ Express inspired web framework written in Go
Echo25,7721,6064 days ago165September 04, 202266mitGo
High performance, minimalist Go web framework
Iris23,9993203 days ago212September 21, 202283bsd-3-clauseGo
The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket:
Vapor22,858
4 days agoNovember 16, 2021113mitSwift
💧 A server-side Swift HTTP web framework.
Cowboy6,9569,060286a month ago23May 12, 2021106iscErlang
Small, fast, modern HTTP server for Erlang/OTP.
Andserver3,28034 months ago18March 19, 2022107apache-2.0Java
:cherries: Web server and web framework of Android platform.
Go Web Framework Stars3,053
7 days ago15April 25, 202117mitGo
:star: Web frameworks for Go, most starred on GitHub
Mojo2,49419256420 days ago737September 12, 202270artistic-2.0Perl
:sparkles: Mojolicious - Perl real-time web framework
Tinyhttp2,440318 days ago284September 15, 20226mitTypeScript
🦄 0-legacy, tiny & fast web framework as a replacement of Express
Go Web Framework Benchmark1,875
23 days ago1February 14, 202118apache-2.0Go
:zap: Go web framework benchmark
Alternatives To Tsukuyomi
Select To Compare


Alternative Project Comparisons
Readme
header

Asynchronous Web framework for Rust.


Crates.io Minimal Rust Version: 1.31.0 Build Status Coverage Status Gitter

Features

  • Type-safe and composable handlers based on Extractor system
  • Scoped routing and middlewares
  • Asynchronous HTTP server based on tokio, hyper and tower-service

Usage

use tsukuyomi::{App, server::Server};
use tsukuyomi::endpoint;

fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
    let app = App::build(|mut scope| {
        scope.at("/")?.to(endpoint::call(|| "Hello, world.\n"))
    })?;

    let mut server = Server::new(app)?;

    println!("Listening on http://localhost:4000/");
    server.bind("127.0.0.1:4000")?;

    server.run_forever();
    Ok(())
}

Resources

Extensions

License

Tsukuyomi is licensed under either of MIT license or Apache License, Version 2.0 at your option.

Popular Web Application Framework Projects
Popular Http Projects
Popular Frameworks Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Rust
Http
Http Server
Futures
Cors
Web Framework
Tokio