Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislearn committed Apr 18, 2022
1 parent 47a52f8 commit 3ea640d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -25,6 +25,7 @@ Salvo is a powerful and simplest web server framework in Rust world.
- Middleware is handler and support executed before or after handler;
- Easy to use routing system, routers can be nested, and you can add middlewares on any routers;
- Multipart form supported, handle files upload is very simple;
- Acme supported, obtain TLS certificate from [let's encrypt](https://letsencrypt.org/) automatic;
- Serve a static virtual directory from many physical directories;

## ⚡️ Quick start
Expand All @@ -40,7 +41,7 @@ Add this to `Cargo.toml`

```toml
[dependencies]
salvo = { version = "0.18", features = ["full"] }
salvo = { version = "0.19", features = ["full"] }
tokio = { version = "1", features = ["full"] }
```

Expand Down
3 changes: 2 additions & 1 deletion README_ZH.md
Expand Up @@ -26,6 +26,7 @@ Salvo 是一个极其简单易用却又功能强大的 Rust Web 后端框架.
- 统一的中间件和句柄接口, 中间件系统支持在句柄之前或者之后运行;
- 简单易用的路由系统, 支持路由嵌套, 在任何嵌套层都可以添加中间件;
- 集成 multipart 表单处理, 处理上传文件变得非常简单;
- 支持 Acme, 自动从 [let's encrypt](https://letsencrypt.org/) 获取 TLS 证书;
- 支持从多个本地目录映射成一个虚拟目录提供服务.

## ⚡️ 快速开始
Expand All @@ -42,7 +43,7 @@ cargo new hello_salvo --bin

```toml
[dependencies]
salvo = { version = "0.18", features = ["full"] }
salvo = { version = "0.19", features = ["full"] }
tokio = { version = "1", features = ["full"] }
```

Expand Down

0 comments on commit 3ea640d

Please sign in to comment.