#attributes #prefix #formatted #string #format

macro prefixes-s

Attribute-like macro for creating Durations easily. Part of the ‘prefixes’ suite.

1 unstable release

0.1.0 Apr 20, 2024

#23 in #attribute


Used in prefixes

Custom license

4KB

prefixes-s

A procedural macro that allows you to use the s attribute to create a Duration from a number of seconds. Part of the prefixes crate.


lib.rs:

A procedural macro that allows you to use the s attribute to create a Duration from a number of seconds. Part of the prefixes crate.

Dependencies

~255–700KB
~17K SLoC