Skip to content

Commit 2d087fb

Browse files
authored
Merge pull request #70 from wandercn/use_bytes
Use bytes
2 parents b5e211e + 925f3ce commit 2d087fb

File tree

3 files changed

+171
-240
lines changed

3 files changed

+171
-240
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ use gostd::vendor
148148
- [x] 完成bytes模块。(version >=0.2.8)
149149
- [x] 完成mime::multipart模块。(version >=0.3.1)
150150
- [x] 修复windos10平台编译失败的bug。(version>=0.3.18)
151-
151+
- [x] 对net/http模块,自定义错误处理上的优化,引入bytes提高性能,api会有参数类型的变化(version>=0.4.1)
152+
- [ ] 对net/http模块,增加异步编程的支持,独立一个模块支持异步编程,原来模块保持不变。
152153
# 独立发布包
153154

154155
独立发布gostd_time,代码等价于 use gostd::time 。

gostd/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "gostd"
33
license = "MIT"
4-
version = "0.3.21"
4+
version = "0.4.1"
55
edition = "2018"
66
authors = ["wandercn<wander@rustpub.com>"]
77
description = "gostd is the go standard library implementation in rust. gostd 是Go标准库的rust实现"
@@ -26,3 +26,6 @@ gostd_time = { version = "^1.0", optional = false, path = "../time" }
2626
rand = "0.8.5"
2727
log = "0.4"
2828
lazy_static = "1.4.0"
29+
bytes = "1"
30+
thiserror ="2.0"
31+
anyhow= "1.0"

0 commit comments

Comments
 (0)