This release adds experimental support for recording structured field
values using the valuable crate to the format::Json formatter. In
particular, user-defined types which are recorded using their
valuable::Valuable implementations will be serialized as JSON objects,
rather than using their fmt::Debug representation. See this blog post
for details on valuable.
Note that valuable support currently requires --cfg tracing_unstable. See
the documentation for details.
Additionally, this release includes a number of other smaller API improvements.
Added
json: Experimental support for recording valuable values as structured
JSON (#1862, #1901)
filter: Targets::would_enable method for testing if a Targets filter
would enable a given target (#1903)
fmt: map_event_format, map_fmt_fields, and map_writer methods to
fmt::Layer and fmt::SubscriberBuilder (#1871)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps tracing-subscriber from 0.3.3 to 0.3.8.
Release notes
Sourced from tracing-subscriber's releases.
... (truncated)
Commits
b37220c
subscriber: prepare to release v0.3.8 (#1905)c661c23
serde: prepare to release 0.1.3 (#1904)b411a5c
subscriber: addTargets::would_enable
(#19034b2903f
subscriber: fix broken docs links (#1902)31df8cd
docs: documenttracing-subscriber
valuable
support (#1901)df4ba17
tracing: prepare to release 0.1.30 (#1899)46eda1e
attributes: prepare to release 0.1.190f8326b
core: prepare to release v0.1.22 (#1897)789257e
ci: unbreak check-features0f17e76
subscriber: fix outdated formatter docs (#1893)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)