logroller 0.1.11

A feature-rich log rotation library with timezone support, flexible rotation strategies, and compression, integrating seamlessly with the tracing ecosystem.
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 = "2021"
rust-version = "1.67"
name = "logroller"
version = "0.1.11"
authors = ["Alasdair Pan <alasdairpan@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A feature-rich log rotation library with timezone support, flexible rotation strategies, and compression, integrating seamlessly with the tracing ecosystem."
documentation = "https://docs.rs/logroller/"
readme = "README.md"
keywords = [
    "logging",
    "tracing",
    "tracing-appender",
]
categories = ["development-tools::debugging"]
license = "MIT"
repository = "https://github.com/alasdairpan/logroller/"

[features]
default = []
tracing = ["dep:tracing-subscriber"]
xz = ["dep:xz2"]

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

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

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

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

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

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

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

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

[dependencies.chrono]
version = "0.4"

[dependencies.flate2]
version = "1.0"

[dependencies.regex]
version = "1"

[dependencies.thiserror]
version = "1.0"

[dependencies.tracing-subscriber]
version = "0.3"
optional = true

[dependencies.xz2]
version = "0.1"
optional = true

[dev-dependencies.tracing]
version = "0.1"

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

[dev-dependencies.tracing-subscriber]
version = "0.3"