rat_logger 0.3.3

具有生产者消费者架构、异步文件操作和分层配置系统的高性能日志库
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 = "rat_logger"
version = "0.3.3"
authors = ["0ldm0s <oldmos@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "具有生产者消费者架构、异步文件操作和分层配置系统的高性能日志库"
homepage = "https://github.com/0ldm0s/rat_logger"
documentation = "https://docs.rs/rat_logger"
readme = "README.md"
keywords = [
    "logging",
    "logger",
    "async",
    "performance",
    "file",
]
categories = [
    "development-tools::debugging",
    "asynchronous",
]
license = "LGPL-3.0"
repository = "https://github.com/0ldm0s/rat_logger"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.arc-swap]
version = "1.7.1"

[dependencies.async-trait]
version = "0.1"

[dependencies.bincode]
version = "2.0"
features = ["serde"]

[dependencies.chrono]
version = "0.4.41"

[dependencies.crossbeam]
version = "0.8"

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.futures]
version = "0.3.31"

[dependencies.lazy_static]
version = "1.5"

[dependencies.lz4]
version = "1.28.1"

[dependencies.once_cell]
version = "1.18"

[dependencies.parking_lot]
version = "0.12.4"

[dependencies.rand]
version = "0.8"

[dependencies.rayon]
version = "1.8"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.threadpool]
version = "1.8.1"

[dependencies.tokio]
version = "1.0"
features = ["full"]