Cannot add cargo_extras to dependencies (failed to download mime_guess2 v2.3.0)
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 withcargo 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from emilk/eframe_template
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
emilk/eframe_template#218 · 2 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 64/100
emilk/eframe_template#84 · 6 comments ·
-
Doesn't runOpen
Difficulty 3/5 1-2 days Newbie friendliness 38/100
emilk/eframe_template#229 ·
-
Name empty?Open
Difficulty 1/5 Under an hour Newbie friendliness 55/100
emilk/eframe_template#228 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
emilk/eframe_template#217 ·
All issues in emilk/eframe_template
Similar issues
-
claim
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Nixitov/Riptide-Native#946 ·
Maintainers usually reply within 1 day
-
area: ai-assistants documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BetaBots-LLC/latticegate#17 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
storytold/craft-libs#5594 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
听歌识曲历史跳转后对应音源界面无法返回Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
LingyunStudio/RustMusic#16 ·