[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.32.0"
[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.16"
[dev-dependencies.color-eyre]
version = "~0.6"
[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 = "sn_logging"
path = "src/lib.rs"
[lints.clippy]
clone_on_ref_ptr = "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
autotests = false
build = false
description = "Safe Networking Logging"
documentation = "https://docs.rs/sn_node"
edition = "2021"
homepage = "https://maidsafe.net"
license = "GPL-3.0"
name = "sn_logging"
readme = "README.md"
repository = "https://github.com/maidsafe/safe_network"
version = "0.2.39"