log_init 0.1.35

Smart logging initialization with automatic backend detection / 智能日志初始化与自动后端检测
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"
name = "log_init"
version = "0.1.35"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Smart logging initialization with automatic backend detection / 智能日志初始化与自动后端检测"
homepage = "https://github.com/js0-site/rust/tree/dev/log_init"
readme = "README.md"
keywords = [
    "logging",
    "systemd",
    "journald",
    "initialization",
    "cross-platform",
]
categories = [
    "development-tools::debugging",
    "os",
    "asynchronous",
    "config",
    "development-tools",
]
license = "MulanPSL-2.0"
repository = "https://github.com/js0-site/rust.git"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["stdout"]
stdout = []
systemd = ["dep:logforth-append-journald"]

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

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

[dependencies.coarsetime]
version = "0.1.37"

[dependencies.colored]
version = "3.1.1"

[dependencies.jiff]
version = "0.2.28"

[dependencies.log]
version = "0.4.32"
features = ["kv"]

[dependencies.logforth]
version = "0.30.1"
features = ["starter-log"]

[dependencies.static_init]
version = "1.0.4"
features = ["parking_lot"]

[dev-dependencies.aok]
version = "0.1.18"

[target.'cfg(target_os = "linux")'.dependencies.logforth-append-journald]
version = "0.4.0"
optional = true