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

Upgrade version of dependencies + fix time breakages #76

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

brandur
Copy link
Owner

@brandur brandur commented Sep 5, 2024

To keep things somewhat current, upgrade all dependencies to latest
versions.

The hardest by far is time, which has broken its entire API surface
area, again. We make some fairly substantial code changes to
accommodate that.

I also changed the store API to use u64s instead of i64s since
they're working with nanoseconds. I realize in retrospect that this
change might not be needed since Redis works with a signed integer type,
but it improves the interface slightly in that a missing value is
returned as a None instead of -1, which is more Rust-like.

To keep things somewhat current, upgrade all dependencies to latest
versions.

The hardest by far is `time`, which has broken its entire API surface
area, _again_. We make some fairly substantial code changes to
accommodate that.

I also changed the store API to use `u64`s instead of `i64`s since
they're working with nanoseconds. I realize in retrospect that this
change might not be needed since Redis works with a signed integer type,
but it improves the interface slightly in that a missing value is
returned as a `None` instead of `-1`, which is more Rust-like.
@brandur brandur merged commit 769d908 into master Sep 5, 2024
10 checks passed
@brandur brandur deleted the brandur-upgrade-dependencies branch September 5, 2024 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant