sui-http 0.2.0

HTTP server and utils used by many sui services
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"
name = "sui-http"
version = "0.2.0"
authors = ["Brandon Williams <brandon@mystenlabs.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP server and utils used by many sui services"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/mystenlabs/sui-http/"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg=doc_cfg",
    "-Zunstable-options",
    "--generate-link-to-definition",
]

[features]
default = []

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

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

[dependencies.bytes]
version = "1"

[dependencies.futures-core]
version = "0.3.31"

[dependencies.http]
version = "1"

[dependencies.http-body]
version = "1"

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

[dependencies.hyper]
version = "1"
features = [
    "http1",
    "http2",
]

[dependencies.hyper-util]
version = "0.1.4"
features = [
    "tokio",
    "server-auto",
    "service",
]

[dependencies.pin-project-lite]
version = "0.2.15"

[dependencies.socket2]
version = "0.6"
features = ["all"]

[dependencies.tokio]
version = "1.36.0"
features = [
    "macros",
    "net",
]
default-features = false

[dependencies.tokio-rustls]
version = "0.26"
default-features = false

[dependencies.tokio-util]
version = "0.7.10"

[dependencies.tower]
version = "0.5"
features = ["util"]
default-features = false

[dependencies.tracing]
version = "0.1"

[dev-dependencies.axum]
version = "0.8"

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

[dev-dependencies.reqwest]
version = "0.12"
features = [
    "http2",
    "json",
    "rustls-tls",
]
default-features = false

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

[dev-dependencies.tonic]
version = "0.14"
features = ["transport"]
default-features = false

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(doc_cfg)"]