77 releases (39 stable)

Uses new Rust 2024

2.5.1 May 19, 2025
2.4.0 Apr 30, 2025
2.2.2 Mar 25, 2025
2.0.0 Dec 3, 2024
0.10.8 Jul 31, 2023

#183 in HTTP server

Download history 146/week @ 2025-02-12 149/week @ 2025-02-19 174/week @ 2025-02-26 8/week @ 2025-03-05 1/week @ 2025-03-12 60/week @ 2025-03-19 60/week @ 2025-03-26 5/week @ 2025-04-02 93/week @ 2025-04-09 36/week @ 2025-04-16 9/week @ 2025-04-23 134/week @ 2025-04-30 31/week @ 2025-05-07 300/week @ 2025-05-14 23/week @ 2025-05-21

362 downloads per month

Apache-2.0

225KB
6K SLoC

Silent

build status
crates.io Documentation GitWiki unsafe forbidden Rust Version
Download License

概要

Silent 是一个简单的基于Hyper的Web框架,它的目标是提供一个简单的、高效的、易于使用的Web框架。

文档

目标

  • 路由
  • 中间件
  • 静态文件
  • WebSocket
  • 模板
  • 数据库
  • 日志 (使用了tracing)
  • 配置
  • 会话
  • 安全
  • 测试
  • 文档
  • GRPC

security

argon2

add make_password and verify_password function

pbkdf2

add make_password and verify_password function

aes

re-export aes/aes_gcm

rsa

re-export rsa

configs

setting

use silent::Configs;
let mut configs = Configs::default ();
configs.insert(1i32);

usage

async fn call(req: Request) -> Result<i32> {
    let num = req.configs().get::<i32>().unwrap();
    Ok(*num)
}

examples for llm

complex projects for llm

Dependencies

~12–29MB
~475K SLoC