PackageTrack
Sign in Get early access

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
Release Pre-release Withdrawn

Releases

latest 21
  1. 0.7.19 31 Jul 2026
    Release notes
    • Upgrade syn to 3.
    Open source →
  2. 0.7.18 17 Jun 2026
    Release notes

    Notable Changes

    • Upgraded MSRV to 1.91.
    Open source →
  3. 0.7.17 23 Feb 2026
    Release notes

    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() and Span::add_link().
    • Added LocalSpan::with_link() and LocalSpan::add_link().
    • Added SpanRecord.links and propagated links through collector post-processing.
    • Added serde::Serialize and serde::Deserialize support for SpanContext using W3C traceparent format.

    Bug Fixes

    • Fixed #[trace] macro span attachment by generating the wrapper function with the original function span.
    Open source →
  4. 0.7.16 18 Dec 2025
    Release notes

    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.
    Open source →
  5. 0.7.15 11 Dec 2025
    Release notes

    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.
    Open source →
  6. 0.7.14 03 Jul 2025
    Release notes

    fix: stale spans not being cleared after reporting (#123)

    Open source →
    Release notes

    Bug Fixes

    • Fixed stale spans not being cleared after reporting.
    Open source →
  7. 0.7.13 02 Jul 2025
    Release notes

    chore: release v0.1.13 (#121)

    Open source →
    Release notes

    Bug Fixes

    • Fixed memory leak when reporter is not set.
    Open source →
  8. 0.7.12 24 Jun 2025
    Release notes

    Bug Fixes

    • Propagated trace context no matter whether the reporter is set.
    • Fixed an issue where SpanContext::random() returned a non-zero parent id.
    Open source →
  9. 0.7.11 12 Jun 2025

    Nothing published for this version

  10. 0.7.10 09 Jun 2025
    Release notes

    New Features

    • TraceContext::random() now returns a TraceContext with random TraceId and SpanId.
    • Added Config::tail_sampled(), which defaults to false.
    • Added attribute #[trace(crate = ::fastrace)] to redirect the path to the fastrace crate.

    Improvements

    • Deprecated Config::max_spans_per_trace() and Config::report_before_root_finish().
    Open source →
  11. 0.7.9 25 Mar 2025
    Release notes

    Breaking Changes

    • Upgraded MSRV to 1.80.

    Improvements

    • Improved performance.
    Open source →
  12. 0.7.8 14 Mar 2025
    Release notes

    chore: release v0.7.8 (#67)

    Open source →
    Release notes

    New Features

    • Added TraceId::random() and SpanId::random().
    • Added FromStr, Display, and serde support for TraceId and SpanId.
    • Added Span::add_property() and Span::add_properties().
    • Added Span::add_event() and LocalSpan::add_event().

    Improvements

    • Deprecated Event::add_to_parent() and Event::add_to_local_parent().
    Open source →
  13. 0.7.7 14 Mar 2025 withdrawn

    Nothing published for this version

  14. 0.7.6 03 Feb 2025
    Release notes

    Improvements

    • Reduced dependencies to futures 0.3.
    Open source →
  15. 0.7.5 03 Jan 2025
    Release notes

    Improvements

    • Optimized collect behavior when the span is not sampled.
    Open source →
  16. 0.7.4 27 Oct 2024
    Release notes

    Improvements

    • Upgraded opentelemetry to 0.26.0.
    Open source →
  17. 0.7.3 23 Sep 2024
    Release notes

    Improvements

    • Upgraded opentelemetry to 0.25.0.
    Open source →
  18. 0.7.2 16 Aug 2024
    Release notes

    New Features

    • Allowed LocalSpan::add_property() when the local parent is a Span.
    Open source →
  19. 0.7.1 14 Aug 2024
    Release notes

    Improvements

    • Lowered MSRV to 1.75.
    Open source →
  20. 0.7.0 14 Aug 2024
    Release notes

    Breaking Changes

    • Upgraded dependencies including opentelemetry and more.
    • Removed deprecated methods Config::batch_report_interval and Config::batch_report_max_spans.
    • Changed Reporter::report() to take Vec<SpanRecord> instead of &[SpanRecord].

    New Features

    • Added SpanContext.sampled, which is propagated through child spans.

    Improvements

    • Deprecated full_name!() and renamed it to full_path!().
    • Deprecated SpanContext::encode_w3c_traceparent_with_sampled().
    Open source →
  21. 0.6.8 16 Jul 2024
    Release notes

    Breaking Changes

    • Renamed project to fastrace.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive