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

cargo failed to parse manifest at Cargo.toml #77

Closed
smoretti opened this issue Jul 22, 2022 · 1 comment
Closed

cargo failed to parse manifest at Cargo.toml #77

smoretti opened this issue Jul 22, 2022 · 1 comment

Comments

@smoretti
Copy link

Hi

I try to install alevin-fry version 0.6.0 with Rust 1.52.1 but the installation fails:

$ cargo install --path .
error: failed to parse manifest at `.../Cargo.toml`

Caused by:
  feature `edition2021` is required

  consider adding `cargo-features = ["edition2021"]` to the manifest

It works if I add cargo-features = ["edition2021"] at the top of the Cargo.toml file.

@rob-p
Copy link
Contributor

rob-p commented Jul 22, 2022

Thanks for the issue! I think this happens because the upgrade to the 2021 edition happened after development and testing switched over to 1.56.0, so that the annotation was no longer needed. I suppose that adding this to the Cargo.toml file will allow use of the relevant features in earlier versions of rust as well, without affecting newer versions? As I mentioned in the other issue, we'll have to determine (in terms of features used) what the MSRV actually is here.

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