Skip to content

core: tracking issue for tracing-core 0.2 breaking changes #922

Open
@hawkw

Description

@hawkw

Feature Request

Crates

  • tracing-core

Motivation

In order to reduce churn throughout the ecosystem, we intend to synchronize the tokio 0.3 and tracing-core 0.2 releases. This issue will track and discuss tracing-core 0.2 breaking changes.

Note that some of the listed changes involve phrasing like "Consider doing X". In those cases, the benefits and drawbacks of those changes need to be investigated further before we commit to making them in 0.2.

Minor API Tweaks

These are low-hanging fruit API changes that don't require a great deal of work, but can't be changed without breaking existing APIs.

Metadata/Callsite improvements

  • Investigate removing cyclic Metadata <-> Callsite reference (needs issue)
  • Consider using Cow<str, 'static> for Metadata strings rather than &'static str (needs issue)
  • Consider introducing statically discoverable metadata (core: introduce statically discoverable metadata #969)

Value System Improvements

See RFC for ValueSet ergonomics improvements #697.

Metadata

Metadata

Labels

crate/coreRelated to the `tracing-core` cratemeta/breakingThis is a breaking change, and should wait until the next breaking release.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions