[package]
edition = "2021"
rust-version = "1.94"
name = "osproxy-otlp"
version = "1.0.0"
authors = ["Huy Nguyen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OTLP/HTTP span exporter: ships shape-only OTLP payloads to a collector, off the request path."
readme = false
license = "Apache-2.0"
repository = "https://github.com/huyz0/opensearch-proxy"
[lib]
name = "osproxy_otlp"
path = "src/lib.rs"
[[test]]
name = "export"
path = "tests/export.rs"
[dependencies.bytes]
version = "1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = [
"client",
"http1",
]
default-features = false
[dependencies.hyper-util]
version = "0.1"
features = [
"client",
"client-legacy",
"http1",
"tokio",
]
default-features = false
[dependencies.osproxy-observe]
version = "1.0.0"
[dependencies.serde_json]
version = "1"
features = ["raw_value"]
[dependencies.tokio]
version = "1"
features = [
"rt",
"sync",
"time",
]
default-features = false
[dev-dependencies.hyper]
version = "1"
features = [
"server",
"http1",
]
default-features = false
[dev-dependencies.hyper-util]
version = "0.1"
features = [
"server",
"service",
"tokio",
]
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"net",
"time",
]
default-features = false
[lints.clippy]
cognitive_complexity = "warn"
expect_used = "deny"
module_name_repetitions = "allow"
panic = "deny"
todo = "deny"
too_many_arguments = "warn"
too_many_lines = "warn"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"