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

Open
#190 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
build-system

Research direction

Reproduce the failure with cargo add egui_extras followed by cargo run --release, cargo run, or trunk serve, using the reported Cargo 1.81.0 environment. Inspect the dependency resolution involving mime_guess2 v2.3.0; done means the template builds without requiring an unsupported edition2024 Cargo feature.

Written by the indexing model from the issue text.

Description

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.
Dominant language
Rust
Stars
1.2k
Forks
235
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from emilk/eframe_template

All issues in emilk/eframe_template

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.