Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "newtime" directive to use official msgpack time format #378

Merged
merged 3 commits into from
Oct 30, 2024

Commits on Oct 29, 2024

  1. Add "newtime" directive to use official messagepack time format

    This adds `msgp:newtime` file directive that will encode all time fields using the -1 extension as defined in the [(revised) messagepack spec](https://github.com/msgpack/msgpack/blob/master/spec.md#timestamp-extension-type)
    
    ReadTime/ReadTimeBytes will now support both types natively, and will accept either as input.
    
    Extensions should remain unaffected.
    
    Fixes tinylib#300
    klauspost committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    8471410 View commit details
    Browse the repository at this point in the history
  2. Fix brainrot

    klauspost committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    1e1e78e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cf97edd View commit details
    Browse the repository at this point in the history