Skip to content

Bump MSRV, edition 2024, and update all dependencies to latest #1475

@GideonBear

Description

@GideonBear

Todo:


$ git clone https://github.com/topgrade-rs/topgrade
$ cd topgrade  # Make sure the pinned toolchain is used
$ cargo install topgrade
    Updating git repository `https://github.com/topgrade-rs/topgrade`
  Installing topgrade v16.2.1 (https://github.com/topgrade-rs/topgrade#907d778c)
    Updating crates.io index
     Locking 304 packages to latest compatible versions
      Adding console v0.15.11 (available: v0.16.1)
      Adding etcetera v0.8.0 (available: v0.10.0)
      Adding home v0.5.12 (requires Rust 1.88)
      Adding merge v0.1.0 (available: v0.2.0)
      Adding nix v0.29.0 (available: v0.30.1)
      Adding regex v1.10.6 (available: v1.12.2)
      Adding strum v0.26.3 (available: v0.27.2)
      Adding tempfile v3.10.1 (available: v3.23.0)
      Adding thiserror v1.0.69 (available: v2.0.17)
      Adding tokio v1.47.2 (available: v1.48.0)
      Adding toml v0.8.23 (available: v0.9.8)
      Adding which v6.0.3 (available: v8.0.0)
error: failed to compile `topgrade v16.2.1 (https://github.com/topgrade-rs/topgrade#907d778c)`, intermediate artifacts can be found at `/tmp/cargo-installikn6Gn`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Caused by:
  failed to download `home v0.5.12`

Caused by:
  unable to get packages from source

Caused by:
  failed to parse manifest at `/home/gideon/.cargo/registry/src/index.crates.io-6f17d22bba15001f/home-0.5.12/Cargo.toml`

Caused by:
  feature `edition2024` is required

  The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.84.1 (66221abde 2024-11-19)).
  Consider trying a newer version of Cargo (this may require the nightly release).
  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information about the status of this feature.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions