Crates.io | silent-db-macros |
lib.rs | silent-db-macros |
version | 0.2.0 |
source | src |
created_at | 2024-03-06 05:13:59.763515 |
updated_at | 2024-03-18 08:28:08.015827 |
description | Macros for silent-db |
homepage | https://github.com/hubertshelley/silent |
repository | https://github.com/hubertshelley/silent |
max_upload_size | |
id | 1164362 |
size | 14,014 |
Silent 是一个简单的基于Hyper的Web框架,它的目标是提供一个简单的、高效的、易于使用的Web框架。
add make_password and verify_password function
add make_password and verify_password function
re-export aes/aes_gcm
re-export rsa
use silent::Configs;
let mut configs = Configs::default();
configs.insert(1i32);
async fn call(req: Request) -> Result<i32> {
let num = req.configs().get::<i32>().unwrap();
Ok(*num)
}