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

api: update time and chrono #341

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tomodachi94
Copy link

@tomodachi94 tomodachi94 commented Aug 17, 2024

This is necessary due to an outdated time crate causing a build
failure on Rust 1.80.0 and later. Bumping chrono was needed because it had a strict requirement for an older version of time.

To reproduce these changes, run the following commands:

<clone my fork>
cd api
mv Cargo.lock Cargo.lock.bak
cargo update chrono
cargo update time@0.1.45 --precise 0.3.36
diff Cargo.lock Cargo.lock.bak
-- There should be no changes, assuming that new updates to
-- time or chrono do not exist.

Further reading:

Closes #340

This is necessary due to an outdated `time` crate causing a build
failure on Rust 1.80.0 and later.

To reproduce these changes, run the following commands:
```
<clone my fork>
cd api
mv Cargo.lock Cargo.lock.bak
cargo update chrono
cargo update time@0.1.45 --precise 0.3.36
diff Cargo.lock Cargo.lock.bak
-- There should be no changes, assuming that new updates to your
-- dependencies exist.
```

Further reading:
* time-rs/time#681
* rust-lang/rust#127343

Closes GRA0007#340
@tomodachi94 tomodachi94 changed the title api/Cargo.lock: bump api: update time and chrono Aug 22, 2024
tomodachi94 added a commit to tomodachi94/nixpkgs that referenced this pull request Aug 23, 2024
alyssais pushed a commit to NixOS/nixpkgs that referenced this pull request Aug 24, 2024
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.

Build Failure on Rust 1.80.00 or later
1 participant