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

crate_name.attr_name = …-like entries are not supported #486

Closed
danielhenrymantilla opened this issue Sep 9, 2021 · 1 comment
Closed

Comments

@danielhenrymantilla
Copy link

danielhenrymantilla commented Sep 9, 2021

While

[dependencies]
foo = "x.y.z"
bar = { version = "x.y.z", features = [""] }
[dependencies.baz]
version = "x.y.z"
features = [""]

is obviously supported by cargo-edit, something like:

[dependencies]
quux.version = "x.y.z"
quux.features = [""]

isn't (it fails with Unexpected `.` Expected `=`). Since the rest of the cargo ecosystem supports this syntax (handy, for instance, to reduce git diffs when adding features and so-on), I'd expect cargo edit to support it as well.

@ordian
Copy link
Collaborator

ordian commented Sep 9, 2021

duplicate of #400

@ordian ordian closed this as completed Sep 9, 2021
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