[package]
edition = "2021"
rust-version = "1.90"
name = "ferrotunnel-http"
version = "1.0.6"
authors = ["Mitul Shah <shahmitul005@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP ingress and proxy implementation for FerroTunnel"
homepage = "https://github.com/ferro-labs/ferrotunnel"
readme = "README.md"
keywords = [
"tunnel",
"http",
"proxy",
"async",
]
categories = [
"network-programming",
"web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ferro-labs/ferrotunnel"
[features]
metrics = ["dep:ferrotunnel-observability"]
[lib]
name = "ferrotunnel_http"
path = "src/lib.rs"
[dependencies.bytes]
version = "1"
features = ["serde"]
[dependencies.ferrotunnel-common]
version = "1.0.6"
[dependencies.ferrotunnel-core]
version = "1.0.6"
[dependencies.ferrotunnel-observability]
version = "1.0.6"
optional = true
[dependencies.ferrotunnel-plugin]
version = "1.0.6"
[dependencies.ferrotunnel-protocol]
version = "1.0.6"
[dependencies.futures]
version = "0.3"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = [
"full",
"http2",
]
[dependencies.hyper-util]
version = "0.1"
features = [
"full",
"server-auto",
"tokio",
]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tower]
version = "0.5"
features = ["full"]
[dependencies.tower-service]
version = "0.3"
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
dbg_macro = "warn"
doc_markdown = "allow"
expect_used = "warn"
ignored_unit_patterns = "allow"
inefficient_to_string = "warn"
linkedlist = "warn"
manual_let_else = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
similar_names = "allow"
single_match_else = "allow"
todo = "warn"
unimplemented = "warn"
uninlined_format_args = "allow"
unnecessary_literal_bound = "allow"
unwrap_used = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "allow"
unsafe_code = "forbid"
unused_import_braces = "warn"
unused_qualifications = "warn"