Qiniu-Reqwest

qiniu-reqwest docs.rs Run Test Cases GitHub release MIT licensed

概览

基于 Reqwest 库提供 HTTP 客户端接口实现(分别实现阻塞接口和异步接口,异步实现则需要启用 async 功能)

需要注意的是,如果使用阻塞接口,则必须使用 SyncClient,而如果使用异步接口则必须使用 AsyncClient,二者不能混用。

安装

不启用异步接口

toml [dependencies] qiniu-reqwest = "0.1.1"

启用异步接口

toml [dependencies] qiniu-reqwest = { version = "0.1.1", features = ["async"] }

最低支持的 Rust 版本(MSRV)

1.60.0

联系我们

代码许可

This project is licensed under the [MIT license].