#timestamp #unix-timestamp #date #date-time #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

#36 in #unix-timestamp

Download history 40/week @ 2024-07-21 52/week @ 2024-07-28 31/week @ 2024-08-04 41/week @ 2024-08-11 45/week @ 2024-08-18 117/week @ 2024-08-25 244/week @ 2024-09-01 85/week @ 2024-09-08 144/week @ 2024-09-15 224/week @ 2024-09-22 117/week @ 2024-09-29 57/week @ 2024-10-06 41/week @ 2024-10-13 70/week @ 2024-10-20 52/week @ 2024-10-27 59/week @ 2024-11-03

222 downloads per month
Used in 10 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