1[workspace] 2members = [ 3 "ci" 4] 5 6[package] 7name = "env_logger" 8version = "0.10.0" 9description = """ 10A logging implementation for `log` which is configured via an environment 11variable. 12""" 13license = "MIT OR Apache-2.0" 14repository = "https://github.com/rust-cli/env_logger/" 15categories = ["development-tools::debugging"] 16keywords = ["logging", "log", "logger"] 17edition = "2021" 18rust-version = "1.60.0" # MSRV 19include = [ 20 "build.rs", 21 "src/**/*", 22 "Cargo.toml", 23 "LICENSE*", 24 "README.md", 25 "tests/**/*", 26 "benches/**/*", 27 "examples/**/*" 28] 29 30[package.metadata.release] 31pre-release-replacements = [ 32 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, 33 {file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1}, 34 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, 35 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1}, 36 {file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/rust-cli/env_logger/compare/{{tag_name}}...HEAD", exactly=1}, 37] 38 39[features] 40default = ["auto-color", "humantime", "regex"] 41color = ["dep:termcolor"] 42auto-color = ["dep:is-terminal", "color"] 43humantime = ["dep:humantime"] 44regex = ["dep:regex"] 45 46[dependencies] 47log = { version = "0.4.8", features = ["std"] } 48regex = { version = "1.0.3", optional = true, default-features=false, features=["std", "perf"] } 49termcolor = { version = "1.1.1", optional = true } 50humantime = { version = "2.0.0", optional = true } 51is-terminal = { version = "0.4.0", optional = true } 52 53[[test]] 54name = "regexp_filter" 55harness = false 56 57[[test]] 58name = "log-in-log" 59harness = false 60 61[[test]] 62name = "log_tls_dtors" 63harness = false 64 65[[test]] 66name = "init-twice-retains-filter" 67harness = false 68