Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR updates Rust dependencies and toolchain to address Dependabot security alerts, including a significant Rust toolchain upgrade from 2022 to 2025 and associated code changes to maintain compatibility.
- Updates Rust toolchain from nightly-2022-08-23 to nightly-2025-02-14
- Removes deprecated
once_cellfeature flag that is no longer needed - Updates datetime handling to use
.and_utc()method for timezone-aware conversions
Reviewed Changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| rust-toolchain.toml | Updates Rust toolchain to nightly-2025-02-14 |
| src/lib.rs | Removes deprecated once_cell feature flag |
| src/open_api/objects/chunk.rs | Updates datetime conversion to use and_utc() method |
| src/open_api/objects/batch.rs | Updates datetime conversions to use and_utc() method |
Comments suppressed due to low confidence (1)
rust-toolchain.toml:2
- The Rust nightly version '2025-02-14' appears to be from the future. As of my knowledge cutoff in January 2025, this version would not exist yet. Consider using a valid nightly version from 2024 or early 2025.
channel = "nightly-2025-02-14"
colinlyguo
previously approved these changes
Aug 4, 2025
Contributor
|
There are some CI errors. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Run cargo update to deal with dependapot alerts.