Skip to content

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 [email protected] --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 [email protected] --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