Skip to content

[PBI] Upgrade clap version and rust toolchain version #260

@ladatz

Description

@ladatz

Description

After performing a cargo update, we explicitly set the version of clap to 4.4.18 because version 4.5.0 requires version 1.74 or higher version of rust toolchain. Updating the rust toolchain version has some breaking changes. You can do this using the following command:
cargo update -p clap@4.5.0 --precise 4.4.18

See Cargo.lock


 "[[package]]
name = "clap"
version = "4.4.18""

The rust toolchain version should be updated to 1.74 in a later PR.

One example of a breaking change in the newer rust version:
image (1)

Related issue:
Tracking Issue for ELIDED_LIFETIMES_IN_ASSOCIATED_CONSTANT future-compat lint · Issue #115010 · rust-lang/rust (github.com)

Acceptance criteria

  • rust toolchain version is updated to 1.74 or higher
  • clap is updated to the latest version
  • Dependencies can be updated as needed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions