obs-tower 0.2.1

tower::Layer for HTTP propagation + ObsHttpRequest/Client events for the obs SDK.
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.95"
name = "obs-tower"
version = "0.2.1"
authors = ["obs contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "tower::Layer for HTTP propagation + ObsHttpRequest/Client events for the obs SDK."
homepage = "https://github.com/tyrchen/obs"
documentation = "https://docs.rs/"
readme = false
keywords = [
    "observability",
    "obs",
    "tower",
    "http",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/tyrchen/obs"

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

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

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

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

[dependencies.buffa]
version = "0.5"
features = ["std"]
default-features = false

[dependencies.bytes]
version = "1.11"

[dependencies.http]
version = "1.4"

[dependencies.obs-core]
version = "0.2.1"

[dependencies.obs-proto]
version = "0.2.1"

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.tokio]
version = "1.52"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
]

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

[dependencies.tower-service]
version = "0.3"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.buffa]
version = "0.5"
features = ["std"]
default-features = false

[dev-dependencies.bytes]
version = "1.11"

[dev-dependencies.obs-core]
version = "0.2.1"
features = ["test"]

[dev-dependencies.obs-proto]
version = "0.2.1"

[dev-dependencies.tokio]
version = "1.52"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
    "macros",
    "rt",
    "rt-multi-thread",
]

[lints.clippy]
expect_used = "warn"
indexing_slicing = "warn"
panic = "warn"
unwrap_used = "warn"

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

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1