arcbox-logging 0.4.9

Shared logging infrastructure: tracing init, size-based rotation, JSON + human-readable output
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 = "arcbox-logging"
version = "0.4.9"
authors = [
    "ArcBox Labs <team@arcbox.dev>",
    "AprilNEA <dev@aprilnea.me> (https://aprilnea.me)",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared logging infrastructure: tracing init, size-based rotation, JSON + human-readable output"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/arcboxlabs/arcbox"

[features]
default = []
sentry = ["dep:sentry"]

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

[dependencies.parking_lot]
version = "0.12"

[dependencies.sentry]
version = "0.46"
features = [
    "backtrace",
    "contexts",
    "panic",
    "tracing",
    "anyhow",
    "reqwest",
    "rustls",
    "tokio",
]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
    "tracing-log",
]

[dev-dependencies.tempfile]
version = "3"

[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
default_trait_access = "allow"
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
if_not_else = "allow"
items_after_statements = "allow"
manual_let_else = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unreadable_literal = "allow"
unused_async = "allow"
unused_self = "allow"
wildcard_imports = "allow"

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

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

[lints.rust]