We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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: Failed to parse config
Since Rust 1.64.0, it is possible to inherit some package properties from the workspace. This feature seems not yet supported by Cargo apk for the package.version property.
package.version
For example, running the command cargo apk run --package my_package in a workspace returns the following error:
cargo apk run --package my_package
Error: Failed to parse config. Caused by: invalid type: map, expected a string for key `package.version` at line 3 column 21
Where the Cargo.toml file of my_package is:
Cargo.toml
my_package
[package] name = "my_package" version.workspace = true
The text was updated successfully, but these errors were encountered:
We just started using these internally too, and are working on parser support for it.
Sorry, something went wrong.
version
Subcommand
Successfully merging a pull request may close this issue.
Since Rust 1.64.0, it is possible to inherit some package properties from the workspace.
This feature seems not yet supported by Cargo apk for the
package.version
property.For example, running the command
cargo apk run --package my_package
in a workspace returns the following error:Where the
Cargo.toml
file ofmy_package
is:The text was updated successfully, but these errors were encountered: