#prefix #attributes #duration #formatted #format #string #proc-macro

macro prefixes-s

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

1 unstable release

0.1.0 Apr 20, 2024

#85 in #formatted


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.

Dependencies

~200–630KB
~15K SLoC