11 unstable releases (3 breaking)

Uses new Rust 2024

new 0.4.1 Jul 12, 2025
0.4.0 Jun 11, 2025
0.3.2 May 30, 2025
0.1.3 May 15, 2025
0.0.0 Nov 28, 2024

#548 in #metrics

Download history 11/week @ 2025-03-15 4/week @ 2025-03-22 2/week @ 2025-03-29 5/week @ 2025-04-05 4/week @ 2025-04-12 128/week @ 2025-04-26 23/week @ 2025-05-03 180/week @ 2025-05-10 205/week @ 2025-05-17 84/week @ 2025-05-24 106/week @ 2025-05-31 131/week @ 2025-06-07 24/week @ 2025-06-14 7/week @ 2025-06-21 2/week @ 2025-06-28

165 downloads per month
Used in 2 crates (via scuffle-metrics)

MIT/Apache

27KB
515 lines

scuffle-metrics-derive

[!WARNING]
This crate is under active development and may not be stable.

License: MIT OR Apache-2.0 docs.rs crates.io GitHub Actions: ci Codecov


A proc-macro to derive the #[metrics] attribute and the #[derive(MetricEnum)] attribute.

For more information checkout the scuffle-metrics crate.

License

This project is licensed under the MIT or Apache-2.0 license. You can choose between one of them if you use this work.

SPDX-License-Identifier: MIT OR Apache-2.0

Dependencies

~0.5–1MB
~22K SLoC