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

#36 in #unix-timestamp

Download history 51/week @ 2024-02-12 136/week @ 2024-02-19 102/week @ 2024-02-26 163/week @ 2024-03-04 85/week @ 2024-03-11 136/week @ 2024-03-18 97/week @ 2024-03-25 221/week @ 2024-04-01 213/week @ 2024-04-08 69/week @ 2024-04-15 80/week @ 2024-04-22 75/week @ 2024-04-29 97/week @ 2024-05-06 73/week @ 2024-05-13 64/week @ 2024-05-20 87/week @ 2024-05-27

323 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