fastrace-macro
Attribute procedural macro for fastrace
0.7.19
6.6M downloads/mo
#3898 most downloaded on crates.io
fast/fastrace
What this package is like to depend on
Last release 23 days ago
31 Jul 2026
Release timing varies
gaps range from 8 days to 5 months
Nearly every release is documented
notes for 19 of 20 stable releases
1 version withdrawn
withdrawn after publishing
2 years old
21 releases · first in 2024
5 releases in the last 12 months
see the full history below
Release timeline
21 releases · Jul 2024 to Jul 2026
2025
2026
Releases
latest 21-
0.7.1931 Jul 2026 -
0.7.1817 Jun 2026 -
0.7.1723 Feb 2026Release notes
Open source →Breaking Changes
- Deprecated
Span::enter_with_parents(). It now uses the first non-noop parent as the primary parent and converts additional parents to links.
New Features
- Added
Span::with_link()andSpan::add_link(). - Added
LocalSpan::with_link()andLocalSpan::add_link(). - Added
SpanRecord.linksand propagated links through collector post-processing. - Added
serde::Serializeandserde::Deserializesupport forSpanContextusing W3Ctraceparentformat.
Bug Fixes
- Fixed
#[trace]macro span attachment by generating the wrapper function with the original function span.
- Deprecated
-
0.7.1618 Dec 2025Release notes
Open source →Improvements
- Deprecated
Config::tail_sampled(). - Spans are held until the root span finishes by default, and
Span::cancel()discards spans collected up to the root span drop.
- Deprecated
-
0.7.1511 Dec 2025Release notes
Open source →Bug Fixes
#[trace]macro now supports trait-object futures and preserves input tokens more faithfully to avoid compilation errors.
Improvements
- Added
#[allow(unreachable_code)]on the macro return hint to quiet new compiler warnings.
-
0.7.1403 Jul 2025 -
0.7.1302 Jul 2025 -
0.7.1224 Jun 2025Release notes
Open source →Bug Fixes
- Propagated trace context no matter whether the reporter is set.
- Fixed an issue where
SpanContext::random()returned a non-zero parent id.
-
0.7.1112 Jun 2025Nothing published for this version
-
0.7.1009 Jun 2025Release notes
Open source →New Features
TraceContext::random()now returns aTraceContextwith randomTraceIdandSpanId.- Added
Config::tail_sampled(), which defaults tofalse. - Added attribute
#[trace(crate = ::fastrace)]to redirect the path to thefastracecrate.
Improvements
- Deprecated
Config::max_spans_per_trace()andConfig::report_before_root_finish().
-
0.7.925 Mar 2025Release notes
Open source →Breaking Changes
- Upgraded MSRV to 1.80.
Improvements
- Improved performance.
-
0.7.814 Mar 2025Release notes
Open source →New Features
- Added
TraceId::random()andSpanId::random(). - Added
FromStr,Display, andserdesupport forTraceIdandSpanId. - Added
Span::add_property()andSpan::add_properties(). - Added
Span::add_event()andLocalSpan::add_event().
Improvements
- Deprecated
Event::add_to_parent()andEvent::add_to_local_parent().
- Added
-
0.7.714 Mar 2025 withdrawnNothing published for this version
-
0.7.603 Feb 2025 -
0.7.503 Jan 2025 -
0.7.427 Oct 2024 -
0.7.323 Sep 2024 -
0.7.216 Aug 2024Release notes
Open source →New Features
- Allowed
LocalSpan::add_property()when the local parent is aSpan.
- Allowed
-
0.7.114 Aug 2024 -
0.7.014 Aug 2024Release notes
Open source →Breaking Changes
- Upgraded dependencies including
opentelemetryand more. - Removed deprecated methods
Config::batch_report_intervalandConfig::batch_report_max_spans. - Changed
Reporter::report()to takeVec<SpanRecord>instead of&[SpanRecord].
New Features
- Added
SpanContext.sampled, which is propagated through child spans.
Improvements
- Deprecated
full_name!()and renamed it tofull_path!(). - Deprecated
SpanContext::encode_w3c_traceparent_with_sampled().
- Upgraded dependencies including
-
0.6.816 Jul 2024