subscription-proxy-pool 0.1.0

Subscription-backed HTTP and SOCKS proxy pools with caching, health checks, and request-count or time-based rotation
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.89"
name = "subscription-proxy-pool"
version = "0.1.0"
build = false
include = [
    "src/**",
    "tests/**",
    "examples/**",
    "Cargo.toml",
    "Cargo.lock",
    "README.md",
    "README.zh-CN.md",
    "PUBLISHING.md",
    "LICENSE",
    "CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Subscription-backed HTTP and SOCKS proxy pools with caching, health checks, and request-count or time-based rotation"
documentation = "https://docs.rs/subscription-proxy-pool"
readme = "README.md"
keywords = [
    "proxy",
    "subscription",
    "rotation",
    "reqwest",
    "clash",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "MIT"

[lib]
name = "subscription_proxy_pool"
path = "src/lib.rs"

[[example]]
name = "fetch"
path = "examples/fetch.rs"

[[test]]
name = "pool_health"
path = "tests/pool_health.rs"

[[test]]
name = "pool_refresh"
path = "tests/pool_refresh.rs"

[[test]]
name = "pool_rotation"
path = "tests/pool_rotation.rs"

[[test]]
name = "pool_sessions"
path = "tests/pool_sessions.rs"

[[test]]
name = "pool_updates"
path = "tests/pool_updates.rs"

[[test]]
name = "socks"
path = "tests/socks.rs"

[[test]]
name = "subscription_updates"
path = "tests/subscription_updates.rs"

[dependencies.base64]
version = "0.22"

[dependencies.futures-util]
version = "0.3"

[dependencies.hyper]
version = "1"
default-features = false

[dependencies.rand]
version = "0.9"

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls",
    "socks",
    "stream",
]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde-saphyr]
version = "1"
features = ["deserialize"]
default-features = false

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "time",
]

[dependencies.url]
version = "2.5"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "net",
    "io-util",
    "test-util",
]

[lints.clippy]
await_holding_lock = "deny"

[lints.rust]
unsafe_code = "forbid"