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

Error message unclear for fields with wrong toml type where workspace inheritance is supported #10997

Closed
epage opened this issue Aug 16, 2022 · 0 comments · Fixed by #11113
Closed
Labels
A-manifest Area: Cargo.toml issues C-bug Category: bug

Comments

@epage
Copy link
Contributor

epage commented Aug 16, 2022

Problem

Manifest

[package]
name = "alenandbarb"
version = 1
edition = "2021"
description = "A toy application for crustatian exploration along network and applications seafloor"

[features]
desktop = ["dioxus/desktop"]
web = ["dioxus/web"]

[dependencies]
dioxus = "0.2.4"

Error

Execution failed (exit code 101).
/Users/ptdecker/.cargo/bin/cargo metadata --verbose --format-version 1 --all-features
stdout : error: failed to parse manifest at `/Users/ptdecker/CLionProjects/alenandbarb/Cargo.toml`

Caused by:
  data did not match any variant of untagged enum MaybeWorkspace for key `package.version`

stderr : 

Note: This is a broader issue of #10942 which was resolved with #10944

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-manifest Area: Cargo.toml issues C-bug Category: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant