Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dioxus CLI MSRV #2378

Open
3 tasks
hilpara opened this issue Apr 30, 2024 · 1 comment
Open
3 tasks

Dioxus CLI MSRV #2378

hilpara opened this issue Apr 30, 2024 · 1 comment

Comments

@hilpara
Copy link

hilpara commented Apr 30, 2024

Problem

Can't compile dioxus-cli v0.5.4. What is the MSRV for cli? I can't find any information about it. What is the MSRV for Dioxus itself?

Updating crates.io index Downloaded dioxus-cli v0.5.4 Downloaded 1 crate (144.1 KB) in 0.18s Installing dioxus-cli v0.5.4 error: failed to compile dioxus-cli v0.5.4, intermediate artifacts can be found at /tmp/cargo-installLEyIVT`

Caused by:
failed to select a version for env_logger.
... required by package dioxus-cli v0.5.4
versions that meet the requirements ^0.11.3 are: 0.11.3

the package dioxus-cli depends on env_logger, with features: anstream but env_logger does not have these features.
It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.

failed to select a version for env_logger which could resolve this conflict`

Steps To Reproduce

Steps to reproduce the behavior:

  • cargo install dioxus-cli

Expected behavior

Compile successful.

Environment:

  • cargo 1.67.1 - can't update it for embedded target

Questionnaire

  • I'm interested in fixing this myself but don't know where to start
  • I would like to fix and I have a solution
  • I don't have time to fix this right now, but maybe later
@nitesik
Copy link

nitesik commented May 26, 2024

Try updating your compiler.

rustup update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants