pf_structured_logging 0.1.1

Enhanced structured logging with performance optimizations and convenience APIs for SpinKube agents
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.85"
name = "pf_structured_logging"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Enhanced structured logging with performance optimizations and convenience APIs for SpinKube agents"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/promptfleet/promptfleet-agents"
resolver = "2"

[features]
a2a-logging = []
baggage-support = ["uuid"]
buffer-pool = []
convenience = [
    "llm-logging",
    "template-logging",
    "a2a-logging",
]
correlation-enhanced = [
    "baggage-support",
    "scoped-context",
]
default = ["convenience"]
fast-paths = []
llm-logging = []
performance-optimized = [
    "string-interner",
    "buffer-pool",
    "fast-paths",
]
scoped-context = []
string-interner = ["string-interner-crate"]
template-logging = []
wasm-optimized = ["performance-optimized"]

[lib]
name = "structured_logging"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[example]]
name = "architecture_demo"
path = "examples/architecture_demo.rs"

[[example]]
name = "context_aware_demo"
path = "examples/context_aware_demo.rs"

[[example]]
name = "metrics_convenience_demo"
path = "examples/metrics_convenience_demo.rs"

[[example]]
name = "panic_handling_demo"
path = "examples/panic_handling_demo.rs"

[[example]]
name = "phase3_integration_test"
path = "examples/phase3_integration_test.rs"

[[example]]
name = "simple_demo"
path = "examples/simple_demo.rs"

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

[dependencies.log]
version = "0.4"
features = ["kv"]

[dependencies.observability_core]
version = "0.1.0"
features = ["structured-logging"]
package = "pf_observability_core"

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "derive",
]

[dependencies.serde_json]
version = "1.0.141"

[dependencies.string-interner-crate]
version = "0.17"
optional = true
package = "string-interner"

[dependencies.thiserror]
version = "1.0"

[dependencies.uuid]
version = "1.0"
features = [
    "v4",
    "v5",
    "js",
    "v4",
    "serde",
]
optional = true

[dependencies.web-time]
version = "1.0"

[dev-dependencies.tokio]
version = "1.0"
features = [
    "full",
    "test-util",
    "rt",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"