tracing-systemd 0.2.1

A tracing-subscriber Layer that pretty-prints span chains to stdout and/or the systemd journal
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 = "tracing-systemd"
version = "0.2.1"
build = false
exclude = [
    ".vscode",
    ".claude",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tracing-subscriber Layer that pretty-prints span chains to stdout and/or the systemd journal"
readme = "README.md"
keywords = [
    "tracing",
    "systemd",
    "journald",
    "logging",
    "subscriber",
]
categories = ["development-tools::debugging"]
license = "MIT"
repository = "https://github.com/ziidonato/tracing-systemd"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
default-target = "x86_64-unknown-linux-gnu"

[features]
colors = ["dep:nu-ansi-term"]
default = ["colors"]
journald = ["dep:tracing-journald"]
json = ["dep:serde_json"]

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

[[example]]
name = "combined"
path = "examples/combined.rs"
required-features = ["journald"]

[[example]]
name = "journald"
path = "examples/journald.rs"
required-features = ["journald"]

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

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

[dependencies.nu-ansi-term]
version = "0.50"
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-journald]
version = "0.3"
optional = true

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "std",
    "registry",
    "fmt",
]
default-features = false