# 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 = "2021"
rust-version = "1.86"
name = "pulsate-proxy"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reverse proxy: upstream pools, load balancing, retries, passive ejection / circuit breaking, forwarded headers."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/nahsv/pulsate"

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

[dependencies.bytes]
version = "1"

[dependencies.http]
version = "1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1"
features = [
    "server",
    "http1",
    "http2",
]
default-features = false

[dependencies.hyper-util]
version = "0.1"
features = [
    "tokio",
    "server",
    "server-auto",
    "client",
    "client-legacy",
    "http1",
    "http2",
    "client",
    "client-legacy",
    "http1",
    "tokio",
]
default-features = false

[dependencies.pulsate-core]
version = "0.1.0"

[dependencies.pulsate-rt]
version = "0.1.0"

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

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

[lints.clippy]
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
