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

Cargo.lock is difficult to create from scratch #1953

Open
1 task done
AucaCoyan opened this issue Apr 21, 2024 · 0 comments
Open
1 task done

Cargo.lock is difficult to create from scratch #1953

AucaCoyan opened this issue Apr 21, 2024 · 0 comments
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request

Comments

@AucaCoyan
Copy link
Member

AucaCoyan commented Apr 21, 2024

Description

I tried to update Cargo.lock by deleting it and recreating it (PR #1872 ) and had a tough time with it.

  • chrono has changed the API, and some types are changed in some functions.
  • many dependencies changed its deps
  • there are quite a few updates in minor versions

Because I couldn't finish in 1 PR, I decided to make an issue and list all the things to do, until we can (almost) delete the Cargo.lock and regenerate it with no problems.

  • I'd be willing to fix this bug myself.

The diff for chrono in the #1872 PR

 [[package]]
 name = "chrono"
-version = "0.4.19"
+version = "0.4.34"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
+checksum = "5bc015644b92d5890fab7489e49d21f879d5c990186827d42ec511919404f38b"
 dependencies = [
- "libc",
- "num-integer",
+ "android-tzdata",
+ "iana-time-zone",
+ "js-sys",
  "num-traits",
  "pure-rust-locales",
- "time",
- "winapi 0.3.9",
+ "wasm-bindgen",
+ "windows-targets 0.52.4",
 ]
@AucaCoyan AucaCoyan added enhancement New feature or request dependencies Pull requests that update a dependency file labels Apr 21, 2024
This was referenced Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant