| Crates.io | msgpack-timestamp |
| lib.rs | msgpack-timestamp |
| version | 0.1.0 |
| created_at | 2026-01-13 21:03:04.017346+00 |
| updated_at | 2026-01-13 21:03:04.017346+00 |
| description | Parse/serialise MessagePack extension -1 timestamps (no_std, no integration) |
| homepage | https://sr.ht/~nabijaczleweli/msgpack_datetime |
| repository | https://git.sr.ht/~nabijaczleweli/msgpack-timestamp |
| max_upload_size | |
| id | 2041257 |
| size | 15,933 |
msgpack-timestamp https://sr.ht/~nabijaczleweli/msgpack_datetime https://docs.rs/msgpack-timestamp Parse/serialise MessagePack extension -1 timestamps (no_std, no integration)
All three formats described in https://github.com/msgpack/msgpack/blob/master/spec.md#timestamp-extension-type are supported for packing and unpacking (timestamp 32/64/96).
let ts = msgpack_timestamp::Timestamp { sec: 1765371205, nsec: 0 }; // 2025-12-10 12:53:25Z assert_eq!(&*msgpack_timestamp::pack(&ts), &[105, 57, 109, 69]); assert_eq!(msgpack_timestamp::unpack(&[105, 57, 109, 69]), Some(ts));
https://crates.io/crates/msgpack-timestamp [dependencies] msgpack-timestamp = "0.1"
Reproduce test data with: apt install libmsgpack-cxx-dev make ./testdata [dir]
Release tarballs are signed with nabijaczleweli@nabijaczleweli.xyz (pull with WKD, but 7D69 474E 8402 8C5C C0C4 4163 BCFD 0B01 8D26 58F1). аnd stored in git notes as-if via the example program provided at https://man.sr.ht/git.sr.ht/#signing-tags-tarballs and are thus available on the refs listing/tag page as .tar.gz.asc.