[dependencies.chrono]
version = "~0.4.19"
[dependencies.dirs-next]
version = "~2.0.0"
[dependencies.file-rotate]
version = "0.7.3"
[dependencies.opentelemetry]
features = ["rt-tokio"]
optional = true
version = "0.20"
[dependencies.opentelemetry-otlp]
optional = true
version = "0.13"
[dependencies.opentelemetry-semantic-conventions]
optional = true
version = "0.12.0"
[dependencies.rand]
features = ["small_rng"]
optional = true
version = "~0.8.5"
[dependencies.serde]
features = ["derive", "rc"]
version = "1.0.133"
[dependencies.serde_json]
version = "1.0"
[dependencies.sysinfo]
default-features = false
optional = true
version = "0.30.8"
[dependencies.thiserror]
version = "1.0.23"
[dependencies.tokio]
optional = true
version = "1.43.1"
[dependencies.tracing]
version = "~0.1.26"
[dependencies.tracing-appender]
version = "~0.2.0"
[dependencies.tracing-core]
version = "0.1.30"
[dependencies.tracing-opentelemetry]
optional = true
version = "0.21"
[dependencies.tracing-subscriber]
features = ["json"]
version = "0.3.20"
[dev-dependencies.color-eyre]
version = "0.6.3"
[dev-dependencies.tracing-test]
version = "0.2.4"
[features]
otlp = ["opentelemetry", "opentelemetry-otlp", "opentelemetry-semantic-conventions", "tracing-opentelemetry", "rand/small_rng"]
process-metrics = ["sysinfo", "tokio"]
test-utils = []
[lib]
name = "ant_logging"
path = "src/lib.rs"
[lints.clippy]
clone_on_ref_ptr = "warn"
expect_used = "warn"
panic = "warn"
unicode_not_nfc = "warn"
uninlined_format_args = "warn"
unused_async = "warn"
unwrap_used = "warn"
[lints.rust]
arithmetic_overflow = "forbid"
mutable_transmutes = "forbid"
no_mangle_const_items = "forbid"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unknown_crate_types = "forbid"
unsafe_code = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
[package]
authors = ["MaidSafe Developers <dev@maidsafe.net>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Logging utilities for crates in the Autonomi repository"
edition = "2024"
homepage = "https://maidsafe.net"
license = "GPL-3.0"
name = "ant-logging"
readme = "README.md"
repository = "https://github.com/maidsafe/autonomi"
resolver = "2"
version = "0.3.0"