emilk / emilk/eframe_template

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
Dominant language
Rust
Stars
1.2k
Forks
230
Avg merge
11m
Merged PRs (30d)
1

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.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.