#timestamp #unix-timestamp #date #time

macro unix-ts-macros

Macro to quickly create unix-ts timestamps

5 releases (1 stable)

1.0.0 Apr 5, 2024
0.4.0 May 25, 2022
0.3.0 Apr 11, 2022
0.2.0 Mar 30, 2022
0.1.0 Sep 10, 2021

#35 in #unix-timestamp

Download history 98/week @ 2024-02-04 52/week @ 2024-02-11 135/week @ 2024-02-18 104/week @ 2024-02-25 155/week @ 2024-03-03 88/week @ 2024-03-10 141/week @ 2024-03-17 91/week @ 2024-03-24 218/week @ 2024-03-31 215/week @ 2024-04-07 71/week @ 2024-04-14 81/week @ 2024-04-21 77/week @ 2024-04-28 99/week @ 2024-05-05 67/week @ 2024-05-12 70/week @ 2024-05-19

316 downloads per month
Used in 5 crates (via unix-ts)

MIT license

4KB

unix-ts-macros: A macro to quickly generate unix-ts timestamps.

unix-ts-macros simplifies the creation of timestamps into a procedural macro: ts. This is an implementation crate for unix-ts, which is what you should actually add as a dependency. (Don't depend directly on this crate.)


lib.rs:

The companion macro crate for unix-ts, to create Unix timestamps from integer and float literals.

No runtime deps