[dependencies.async-trait]
version = "0.1"
[dependencies.futures]
version = "0.3"
[dependencies.http]
version = "1.1"
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.rand]
version = "0.8"
[dependencies.reqwest]
version = "0.12"
[dependencies.reqwest-middleware]
version = ">0.3.0, <0.5.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
features = ["sync"]
version = "1.40"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.async-stream]
version = "0.3"
[dev-dependencies.dashmap]
version = "5.5"
[dev-dependencies.nacos-sdk]
version = "0.5"
[dev-dependencies.reqwest-retry]
version = "0.7"
[dev-dependencies.tokio]
features = ["full"]
version = "1.40"
[dev-dependencies.tracing-subscriber]
version = "0.3"
[dev-dependencies.url]
version = "2.5"
[[example]]
name = "create_from_discovery"
path = "examples/create_from_discovery.rs"
[[example]]
name = "create_from_fixed"
path = "examples/create_from_fixed.rs"
[[example]]
name = "create_from_nacos"
path = "examples/create_from_nacos.rs"
[lib]
name = "reqwest_lb"
path = "src/lib.rs"
[package]
authors = ["sodax <w-sodalite@hotmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "The reqwest load balancer middleware"
edition = "2021"
homepage = "https://github.com/w-sodalite/reqwest-lb.git"
license-file = "LICENSE"
name = "reqwest-lb"
readme = "README.md"
repository = "https://github.com/w-sodalite/reqwest-lb.git"
version = "0.3.1"
[package.metadata.release]
allow-branch = ["main"]
consolidate-commits = true
pre-release-commit-message = "Release {{version}}"
registry = "crates-io"
shared-version = true
tag-name = "v{{version}}"
[[test]]
name = "load_balancer_discovery"
path = "tests/load_balancer_discovery.rs"
[[test]]
name = "load_balancer_factory"
path = "tests/load_balancer_factory.rs"
[[test]]
name = "load_balancer_policy"
path = "tests/load_balancer_policy.rs"
[[test]]
name = "load_balancer_retry"
path = "tests/load_balancer_retry.rs"