[package] name = "env_logger_plus" version = "0.10.0" description = """ A logging implementation plus for `log` which is configured via an environment variable. Adding target to file, rotating by file size. """ repository = "https://github.com/sweihub/env_logger_plus/" categories = ["development-tools::debugging"] keywords = ["logging", "log", "logger"] license = "MIT OR Apache-2.0" edition = "2021" rust-version = "1.60.0" # MSRV include = [ "build.rs", "src/**/*", "Cargo.toml", "Cargo.lock", "LICENSE*", "README.md", "benches/**/*", "examples/**/*" ] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [package.metadata.release] pre-release-replacements = [ {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, {file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1}, {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, {file="CHANGELOG.md", search="", replace="\n## [Unreleased] - ReleaseDate\n", exactly=1}, {file="CHANGELOG.md", search="", replace="\n[Unreleased]: https://github.com/rust-cli/env_logger/compare/{{tag_name}}...HEAD", exactly=1}, ] [features] default = ["auto-color", "humantime", "regex"] color = ["dep:termcolor"] auto-color = ["dep:is-terminal", "color"] humantime = ["dep:humantime"] regex = ["dep:regex"] [dependencies] log = { version = "0.4.8", features = ["std"] } regex = { version = "1.0.3", optional = true, default-features=false, features=["std", "perf"] } termcolor = { version = "1.1.1", optional = true } humantime = { version = "2.0.0", optional = true } is-terminal = { version = "0.4.0", optional = true } #[[test]] #name = "regexp_filter" #harness = false #[[test]] #name = "log-in-log" #harness = false #[[test]] #name = "log_tls_dtors" #harness = false #[[test]] #name = "init-twice-retains-filter" #harness = false