1 Star 0 Fork 0

提灯医疗/feignhttp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Cargo.toml 1.41 KB
一键复制 编辑 原始数据 按行查看 历史
提灯医疗 提交于 2023-05-28 03:30 . isahc
[package]
name = "feignhttp"
version = "0.5.9"
authors = ["dxx <dx1898@foxmail.com>"]
edition = "2021"
description = "Declarative HTTP client for rust"
documentation = "https://docs.rs/feignhttp"
homepage = "https://github.com/dxx/feignhttp"
repository = "https://github.com/dxx/feignhttp"
categories = ["web-programming::http-client"]
keywords = ["http", "request", "client"]
readme = "README.md"
license = "MIT"
exclude = [
"examples/**",
]
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[workspace]
members = ["codegen"]
[features]
default = ["reqwest-client"]
reqwest-client = ["reqwest"]
reqwest-client-rustls=["reqwest/rustls-tls"]
isahc-client = ["isahc"]
isahc-client-rustls = ["isahc/rustls-tls"]
# , "isahc/json"
json = ["serde_json", "reqwest/json"]
[dependencies]
feignhttp-codegen = { version = "0.5", path = "codegen" }
async-trait = "0.1"
http = "0.2"
url = "2.2"
serde = "1.0"
serde_urlencoded = "0.7"
# Optional deps...
## reqwest
reqwest = { version = "0.11", default-features = false, optional = true }
## isahc
isahc = { version = "1.7.0",default-features = false, features=["json"], optional = true }
## json
serde_json = { version = "1.0", optional = true }
## log
log = { version = "0.4", optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
once_cell = "1.12.0"
mockito = "0.23.3"
env_logger = "0.8.3"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Rust
1
https://gitee.com/tdcare/feignhttp.git
git@gitee.com:tdcare/feignhttp.git
tdcare
feignhttp
feignhttp
main

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385