#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 103/week @ 2024-03-12 128/week @ 2024-03-19 93/week @ 2024-03-26 244/week @ 2024-04-02 193/week @ 2024-04-09 76/week @ 2024-04-16 76/week @ 2024-04-23 80/week @ 2024-04-30 90/week @ 2024-05-07 69/week @ 2024-05-14 75/week @ 2024-05-21 73/week @ 2024-05-28 45/week @ 2024-06-04 27/week @ 2024-06-11 14/week @ 2024-06-18 36/week @ 2024-06-25

130 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