This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
forked from rust-cli/env_logger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
70 lines (62 loc) · 2.04 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[package]
name = "ros_logger"
version = "0.1.6"
description = """
A logging implementation for `log` which is configured via an environment
variable and creates tracing events for opentelemetry subscribers to subscribe to.
"""
repository = "https://github.com/franklin-ai/ros_logger"
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 = "<!-- next-header -->", replace = "<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly = 1 },
{ file = "CHANGELOG.md", search = "<!-- next-url -->", replace = "<!-- next-url -->\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 }
tracing = { version = "0.1.37" }
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