mas-http 0.10.0

HTTP utilities for the Matrix Authentication Service
Documentation
[dependencies.async-trait]
version = "0.1.81"

[dependencies.bytes]
version = "1.7.1"

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

[dependencies.headers]
version = "0.4.0"

[dependencies.http]
version = "1.1.0"

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

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

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

[dependencies.hyper-rustls]
default-features = false
features = ["http1", "http2"]
optional = true
version = "0.27.2"

[dependencies.hyper-util]
features = ["client", "server", "server-auto", "service", "http1", "http2", "tokio"]
version = "0.1.7"

[dependencies.mas-tower]
optional = true
version = "=0.10.0"

[dependencies.opentelemetry]
features = ["trace", "metrics"]
version = "0.24.0"

[dependencies.opentelemetry-semantic-conventions]
version = "0.16.0"

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

[dependencies.rustls]
optional = true
version = "0.23.12"

[dependencies.rustls-platform-verifier]
optional = true
version = "0.3.3"

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

[dependencies.serde_json]
features = ["preserve_order"]
version = "1.0.122"

[dependencies.serde_urlencoded]
version = "0.7.1"

[dependencies.thiserror]
version = "1.0.63"

[dependencies.tower]
features = ["util"]
version = "0.4.13"

[dependencies.tower-http]
features = ["cors", "fs", "add-extension"]
version = "0.5.2"

[dependencies.tracing]
version = "0.1.40"

[dependencies.tracing-opentelemetry]
default-features = false
version = "0.25.0"

[dev-dependencies.anyhow]
version = "1.0.86"

[dev-dependencies.tokio]
features = ["full"]
version = "1.39.2"

[features]
client = ["dep:mas-tower", "dep:rustls", "dep:hyper-rustls", "dep:rustls-platform-verifier", "tower/limit", "tower-http/timeout", "tower-http/follow-redirect", "tower-http/set-header"]

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

[lints.clippy]
str_to_string = "deny"

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

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

[lints.rust]
unsafe_code = "forbid"

[lints.rustdoc]
broken_intra_doc_links = "deny"

[package]
authors = ["Quentin Gliech <quenting@element.io>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "HTTP utilities for the Matrix Authentication Service"
edition = "2021"
homepage = "https://matrix-org.github.io/matrix-authentication-service/"
license = "Apache-2.0"
name = "mas-http"
readme = false
repository = "https://github.com/matrix-org/matrix-authentication-service/"
version = "0.10.0"

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