tracing-serde
A compatibility layer for serializing trace data with `serde`
0.2.0
251M downloads/mo
#419 most downloaded on crates.io
tokio-rs/tracing
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 3 months to 2.8 years
Most releases are documented
notes for 5 of 6 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
6 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
6 releases · Jun 2019 to Nov 2024Releases
latest 6-
0.2.027 Nov 2024Release notes
Open source →<a id = "0.2.0-breaking"></a>
Breaking Changes
- Correct SerializeField definition and doc formatting (#3040)
SerializeFieldhas gained a generic lifetime parameter.
Fixed
- Implement
AsSerdeforFieldSet(#2241) - breaking Correct SerializeField definition and doc formatting (#3040)
Changed
- Bump MSRV to 1.63 ([#2793])
Release notes
Open source →Added
- Make trace and metrics features optional
- ExportResult as specified in the specification
- Add Futures compatibility API
- Added serde serialize support to SpanData
- Separate OpenTelemetry Jaeger crate
Changed
- Rename HttpTraceContextPropagator to TraceContextPropagator
- Rename HttpB3Propagator to B3Propagator
- Switch to Apache 2 license
- Resolve agent addresses to allow non-static IP
- Remove tracer name prefix from span name
Removed
- Remove add_link from spans
- Correct SerializeField definition and doc formatting (#3040)
-
0.1.304 Feb 2022Release notes
Open source →This release adds experimental support for recording structured field values using the
valuablecrate. See this blog post for details onvaluable.Note that
valuablesupport currently requires--cfg tracing_unstable. See the documentation for details.Added
- valuable: Experimental support for serializing user-defined types using
valuableandvaluable-serde(#1862) - Support for serializing
f64values (#1507)
Fixed
- Fixed incorrect size hint in
SerializeFieldSet(#1333) - A number of documentation fixes
Thanks to @akinnane and @maxburke for contributing to this release!
Release notes
Open source →Changed
- Ensure spans are always send and sync
- Allow static lifetimes for span names
- Improve KeyValue ergonomics
- valuable: Experimental support for serializing user-defined types using
-
0.1.211 Sep 2020Release notes
Open source →Added
SerdeMapVisitor::finishto complete serializing the visited objects (#892)SerdeMapVisitor::take_serializerto return the serializer wrapped by aSerdeMapVisitor(#892)
-
0.1.128 Feb 2020Release notes
Open source →Added
- Made
SerdeMapVisitorpublic (#599) - Made
SerdeStructVisitorpublic (#599)
Release notes
Open source →Added
- Documentation and API cleanup
- Tracking of active spans via thread local span stack
- Made
-
0.1.019 Nov 2019 -
0.0.027 Jun 2019Nothing published for this version