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

Cannot download from crate #518

Closed
hanusek opened this issue Feb 14, 2023 · 1 comment
Closed

Cannot download from crate #518

hanusek opened this issue Feb 14, 2023 · 1 comment

Comments

@hanusek
Copy link

hanusek commented Feb 14, 2023

Hello!
I have a problem with the download crate and build with compiler 1.54 and 1.58.

Cargo.toml:

[package]
name = "my-toml-edit-test"
version = "0.1.0"
edition = "2018"

[dependencies]
toml_edit = "0.18.1"

Error:

$ cargo +1.54.0 build
    Updating crates.io index
error: failed to select a version for the requirement `toml_edit = "^0.18.1"`
candidate versions found which didn't match: 0.14.4, 0.14.3, 0.14.2, ...
location searched: crates.io index
required by package `my-toml-edit-test v0.1.0 (/home/mhanusek/work/code/sandbox/my-toml-edit-test)`
@epage
Copy link
Member

epage commented Feb 14, 2023

The current version of toml_edit requires rust 1.60.

As for why you are getting the error in the way you are, see rust-lang/cargo#10623

@epage epage closed this as not planned Won't fix, can't repro, duplicate, stale Feb 14, 2023
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