2 unstable releases

0.2.0 Mar 18, 2024
0.1.0 Mar 6, 2024

#1431 in Database interfaces

Download history 108/week @ 2024-03-01 25/week @ 2024-03-08 141/week @ 2024-03-15 17/week @ 2024-03-22 28/week @ 2024-03-29 4/week @ 2024-04-05

59 downloads per month

Apache-2.0

92KB
3K SLoC

Silent

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

概要

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

目标

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

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

~18–35MB
~585K SLoC