Skip to content

Cannot add cargo_extras to dependencies (failed to download mime_guess2 v2.3.0) #190

@Uomocosa

Description

@Uomocosa

Steps to reproduce:

  • Step 1: Use this template (creating a new repo)
  • Step 2: Followed instructions to rename 'eframe_template'.
  • Step 3: cargo add egui_extras.
  • Step 4: cargo run --release. (Also works with cargo run, trunk serve, ...)

Repo:

For commodity I've created a new repo following the previous steps:
https://github.com/Uomocosa/eframe-porva-3


Error message:

error: failed to download `mime_guess2 v2.3.0`

       Caused by:
         unable to get packages from source

       Caused by:
         failed to parse manifest at `C:\Users\acer\.cargo\registry\src\index.crates.io-6f17d22bba15001f\mime_guess2-2.3.0\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.81.0 (2dbb1af80 2024-08-20)).
         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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions