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
This Cargo.toml file:
[package] name = "matches" version = "0.0.1" authors = ["Simon Sapin <[email protected]>"] [lib] path = "lib.rs"
Gives a confusing error message:
matches/Cargo.toml is not a valid manifest expected a value of type `array`, but found a value of type `table` for the key `lib`
Adding a lib.name key fixes it, but the error message was not helpful in finding that out.
lib.name
[package] name = "matches" version = "0.0.1" authors = ["Simon Sapin <[email protected]>"] [lib] name = "matches" path = "lib.rs"
Also, since omitting the [lib] section entirely works, overriding just lib.path should work as well, keeping the default name.
[lib]
lib.path
The text was updated successfully, but these errors were encountered:
Just ran into this as well. I appears that the bug is that you need more than one key-value pair in the [lib]-section.
Sorry, something went wrong.
I think this is fixed. The error is now expected a value of type stringfor the keylib.name``
expected a value of type
for the key
Thanks @oli-obk!
No branches or pull requests
This Cargo.toml file:
Gives a confusing error message:
Adding a
lib.name
key fixes it, but the error message was not helpful in finding that out.Also, since omitting the
[lib]
section entirely works, overriding justlib.path
should work as well, keeping the default name.The text was updated successfully, but these errors were encountered: