sz-orm-observability 6.0.0

SZ-ORM 鍙娴嬫€фā鍧楋細Prometheus exporter (TcpListener) + SLO 鐕冪儳锟?+ Grafana 浠〃鐩樻ā鏉匡紱OTLP 瀵煎嚭璇蜂娇锟?sz-orm-tracing 锟?otlp feature
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 = "2021"
name = "sz-orm-observability"
version = "6.0.0"
authors = ["SZ-ORM Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SZ-ORM 鍙娴嬫€фā鍧楋細Prometheus exporter (TcpListener) + SLO 鐕冪儳锟?+ Grafana 浠〃鐩樻ā鏉匡紱OTLP 瀵煎嚭璇蜂娇锟?sz-orm-tracing 锟?otlp feature"
homepage = "https://github.com/ljclz/sz-orm"
readme = false
keywords = [
    "orm",
    "database",
    "async",
    "sql",
    "tokio",
]
categories = [
    "database",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/ljclz/sz-orm"

[package.metadata.cargo-machete]
ignored = [
    "async-trait",
    "chrono",
    "sz-orm-core",
    "sz-orm-limit",
    "thiserror",
]

[features]
anomaly-detection = []
anomaly-remediation-rca = ["anomaly-detection"]
default = []
prod-metrics-acl = [
    "dep:base64",
    "dep:subtle",
]
prometheus = []
push-gateway = ["reqwest"]
query-logging = [
    "dep:sz-orm-flamegraph",
    "dep:sz-orm-masking",
]
service-mesh = ["dep:sz-orm-limit"]

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

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

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

[[test]]
name = "service_mesh_test"
path = "tests/service_mesh_test.rs"
required-features = ["service-mesh"]

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.parking_lot]
version = "0.12"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "blocking",
]
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = [
    "derive",
    "std",
]

[dependencies.serde_json]
version = "1"

[dependencies.subtle]
version = "2.5"
optional = true

[dependencies.sz-orm-core]
version = "6.0.0"

[dependencies.sz-orm-flamegraph]
version = "6.0.0"
optional = true

[dependencies.sz-orm-limit]
version = "6.0.0"
optional = true

[dependencies.sz-orm-masking]
version = "6.0.0"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.40"
features = ["full"]

[dependencies.tracing]
version = "0.1"
features = ["attributes"]

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

[lints.clippy]
module_name_repetitions = "allow"
type_complexity = "allow"

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

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"