6 releases

Uses new Rust 2024

new 0.1.2 Apr 27, 2025
0.1.1 Feb 21, 2025
0.0.2 Dec 8, 2024
0.0.0 Nov 28, 2024

#209 in #derive-macro


Used in 2 crates (via scuffle-metrics)

MIT/Apache

24KB
515 lines

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


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

Dependencies

~0.5–1MB
~22K SLoC