[package]
edition = "2021"
rust-version = "1.94"
name = "osproxy-observe"
version = "1.0.2"
authors = ["Huy Nguyen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Observability: shape-only span schema, runtime diagnostics directives, /debug/explain assembly."
readme = false
license = "Apache-2.0"
repository = "https://github.com/huyz0/opensearch-proxy"
[lib]
name = "osproxy_observe"
path = "src/lib.rs"
[[test]]
name = "contention"
path = "tests/contention.rs"
[[test]]
name = "memory"
path = "tests/memory.rs"
[[test]]
name = "no_value_leak"
path = "tests/no_value_leak.rs"
[[bench]]
name = "directive"
path = "benches/directive.rs"
harness = false
[dependencies.arc-swap]
version = "1"
[dependencies.osproxy-core]
version = "1.0.2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["raw_value"]
[dev-dependencies.dhat]
version = "0.3"
[dev-dependencies.divan]
version = "0.1"
[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"