Skip to content

Conversation

Thegaram
Copy link
Contributor

@Thegaram Thegaram commented Aug 4, 2025

Run cargo update to deal with dependapot alerts.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_cell feature 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
colinlyguo previously approved these changes Aug 4, 2025
@colinlyguo
Copy link
Contributor

There are some CI errors.

@Thegaram Thegaram merged commit 30a0764 into develop Aug 4, 2025
4 checks passed
@Thegaram Thegaram deleted the chore-cargo-update branch August 4, 2025 12:28
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.

2 participants