代码拉取完成,页面将自动刷新
[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"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。