msgpack-timestamp 0.1.0

Parse/serialise MessagePack extension -1 timestamps (no_std, no integration)
Documentation
  • Coverage
  • 62.5%
    5 out of 8 items documented1 out of 5 items with examples
  • Size
  • Source code size: 15.43 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.29 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • nabijaczleweli

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.