[package]
edition = "2024"
rust-version = "1.85"
name = "api-bones-reqwest"
version = "2.0.3"
authors = ["Gregoire Salingue"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reqwest client extensions for api-bones types (ErrorResponseExt, retry logic)"
homepage = "https://github.com/brefwiz/api-bones"
documentation = "https://docs.rs/api-bones-reqwest"
readme = "README.md"
keywords = [
"rest",
"reqwest",
"http",
"client",
"api",
]
categories = [
"web-programming::http-client",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/brefwiz/api-bones"
resolver = "2"
[features]
uuid = [
"dep:uuid",
"api-bones/uuid",
]
[lib]
name = "api_bones_reqwest"
path = "src/lib.rs"
[[example]]
name = "client_extensions"
path = "examples/client_extensions.rs"
[dependencies.api-bones]
version = "4.0"
features = [
"std",
"serde",
]
default-features = false
[dependencies.reqwest]
version = "0.12"
features = ["json"]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.uuid]
version = "1.8"
optional = true
[dev-dependencies.mockito]
version = "1.7.2"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"rt-multi-thread",
"net",
]
[lints.clippy]
derive_partial_eq_without_eq = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
option_if_let_else = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust.dead_code]
level = "deny"
priority = -1
[lints.rust.unsafe_code]
level = "deny"
priority = -1
[lints.rust.unsafe_op_in_unsafe_fn]
level = "deny"
priority = -1
[lints.rust.unused_imports]
level = "deny"
priority = -1
[lints.rust.unused_variables]
level = "deny"
priority = -1
[lints.rust.warnings]
level = "deny"
priority = -1