#timestamp #unix-timestamp #date #time

macro unix-ts-macros

Macro to quickly create unix-ts timestamps

5 releases (1 stable)

new 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 131/week @ 2023-12-18 103/week @ 2023-12-25 158/week @ 2024-01-01 67/week @ 2024-01-08 67/week @ 2024-01-15 174/week @ 2024-01-22 70/week @ 2024-01-29 97/week @ 2024-02-05 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 285/week @ 2024-04-01

611 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