68 releases (30 stable)

1.5.0 Nov 8, 2024
1.4.3 Sep 26, 2024
1.4.0 Jul 9, 2024
1.2.0 Mar 26, 2024
0.10.8 Jul 31, 2023

#113 in HTTP server

Download history 62/week @ 2024-07-27 129/week @ 2024-08-10 12/week @ 2024-08-17 3/week @ 2024-08-24 161/week @ 2024-08-31 10/week @ 2024-09-07 61/week @ 2024-09-14 103/week @ 2024-09-21 256/week @ 2024-09-28 11/week @ 2024-10-05 6/week @ 2024-10-12 127/week @ 2024-10-26 75/week @ 2024-11-02 44/week @ 2024-11-09

246 downloads per month

Apache-2.0

210KB
5.5K SLoC

Silent

build status
crates.io Documentation 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

~11–27MB
~411K SLoC