5 releases

new 0.1.1 Feb 21, 2025
0.1.0 Feb 10, 2025
0.0.2 Dec 8, 2024
0.0.1 Dec 1, 2024
0.0.0 Nov 28, 2024

#457 in #metrics

Download history 267/week @ 2024-11-26 192/week @ 2024-12-03 103/week @ 2024-12-10 110/week @ 2024-12-17 56/week @ 2024-12-24 146/week @ 2024-12-31 45/week @ 2025-01-07 15/week @ 2025-01-14 8/week @ 2025-01-21 122/week @ 2025-02-04 92/week @ 2025-02-11

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

MIT/Apache

24KB
509 lines

scuffle-metrics-derive

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

crates.io docs.rs


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

For more information checkout the scuffle-metrics crate.

Status

This crate is currently under development and is not yet stable, unit tests are not yet fully implemented.

Unit tests are not yet fully implemented. Use at your own risk.

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


lib.rs:

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

For more information checkout the scuffle-metrics crate.

Status

This crate is currently under development and is not yet stable, unit tests are not yet fully implemented.

Unit tests are not yet fully implemented. Use at your own risk.

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