1 | [package] |
2 | name = "env_filter" |
3 | version = "0.1.3" |
4 | description = "" " |
5 | Filter log events using environment variables |
6 | " "" |
7 | categories = ["development-tools::debugging" ] |
8 | keywords = ["logging" , "log" , "logger" ] |
9 | repository.workspace = true |
10 | license.workspace = true |
11 | edition.workspace = true |
12 | rust-version.workspace = true |
13 | include.workspace = true |
14 | |
15 | [package.metadata.docs.rs] |
16 | all-features = true |
17 | rustdoc-args = ["--cfg" , "docsrs" ] |
18 | |
19 | [package.metadata.release] |
20 | pre-release-replacements = [ |
21 | {file="CHANGELOG.md" , search="Unreleased" , replace="{{version}}" , min=1}, |
22 | {file="CHANGELOG.md" , search="\\.\\.\\.HEAD" , replace="...{{tag_name}}" , exactly=1}, |
23 | {file="CHANGELOG.md" , search="ReleaseDate" , replace="{{date}}" , min=1}, |
24 | {file="CHANGELOG.md" , search="<!-- next-header -->" , replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n" , exactly=1}, |
25 | {file="CHANGELOG.md" , search="<!-- next-url -->" , replace="<!-- next-url -->\n[Unreleased]: https://github.com/rust-cli/env_logger/compare/{{tag_name}}...HEAD" , exactly=1}, |
26 | ] |
27 | |
28 | [features] |
29 | default = ["regex" ] |
30 | regex = ["dep:regex" ] |
31 | |
32 | [dependencies] |
33 | log = { version = "0.4.8" , features = ["std" ] } |
34 | regex = { version = "1.0.3" , optional = true, default-features=false, features=["std" , "perf" ] } |
35 | |
36 | [dev-dependencies] |
37 | snapbox = "0.6" |
38 | |
39 | [lints] |
40 | workspace = true |
41 | |