添加中文url支持, 添加可以指定目录功能

This commit is contained in:
2026-02-12 14:53:33 +08:00
parent 5d676fb989
commit 77eca78d86
3 changed files with 55 additions and 3 deletions

9
Cargo.lock generated
View File

@ -5,3 +5,12 @@ version = 4
[[package]]
name = "mini_web_server"
version = "0.1.0"
dependencies = [
"urlencoding",
]
[[package]]
name = "urlencoding"
version = "2.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da"