trapy 0.1.0

Python logging facade that emits real Rust `tracing` events with structured kwargs.
# 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"
name = "trapy"
version = "0.1.0"
authors = ["Bowan Foryt <bowan@valstad.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Python logging facade that emits real Rust `tracing` events with structured kwargs."
documentation = "https://docs.rs/trapy"
readme = "README.md"
keywords = [
    "tracing",
    "logging",
    "python",
    "pyo3",
    "subscriber",
]
categories = [
    "development-tools::debugging",
    "api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/valstad-shipworks/trapy"

[features]
abi3 = [
    "subscribers",
    "pyo3/abi3-py310",
]
abi3t = [
    "subscribers",
    "pyo3/abi3t-py315",
]
extension-module = ["pyo3/extension-module"]
subscribers = [
    "dep:tracing-subscriber",
    "dep:tracing-catty",
    "dep:tracing-timing",
    "dep:tracing-tracy",
    "dep:tracing-opentelemetry",
    "dep:opentelemetry",
    "dep:opentelemetry_sdk",
    "dep:opentelemetry-otlp",
]

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

[dependencies.opentelemetry]
version = "0.32"
optional = true

[dependencies.opentelemetry-otlp]
version = "0.32"
features = [
    "trace",
    "http-proto",
    "reqwest-blocking-client",
]
optional = true
default-features = false

[dependencies.opentelemetry_sdk]
version = "0.32"
features = ["trace"]
optional = true

[dependencies.pyo3]
version = "0.29"

[dependencies.tracing]
version = "0.1.44"
features = ["valuable"]

[dependencies.tracing-catty]
version = "0.1.0"
optional = true

[dependencies.tracing-core]
version = "0.1.36"

[dependencies.tracing-opentelemetry]
version = "0.33.0"
optional = true

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "env-filter",
    "json",
    "registry",
    "ansi",
    "std",
]
optional = true

[dependencies.tracing-timing]
version = "0.7"
features = ["layer"]
optional = true
default-features = false

[dependencies.tracing-tracy]
version = "0.11.4"
optional = true

[dependencies.valuable]
version = "0.1.1"