#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

#37 in #unix-timestamp

Download history 68/week @ 2024-11-16 46/week @ 2024-11-23 70/week @ 2024-11-30 105/week @ 2024-12-07 62/week @ 2024-12-14 4/week @ 2024-12-21 5/week @ 2024-12-28 29/week @ 2025-01-04 78/week @ 2025-01-11 82/week @ 2025-01-18 71/week @ 2025-01-25 68/week @ 2025-02-01 58/week @ 2025-02-08 95/week @ 2025-02-15 147/week @ 2025-02-22 165/week @ 2025-03-01

477 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