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

Does not support dotted keys from toml 0.5 #400

Closed
Nemo157 opened this issue May 17, 2020 · 2 comments · Fixed by #491
Closed

Does not support dotted keys from toml 0.5 #400

Nemo157 opened this issue May 17, 2020 · 2 comments · Fixed by #491

Comments

@Nemo157
Copy link

Nemo157 commented May 17, 2020

> cargo new bar
Created binary (application) `bar` package
> cd bar
> echo 'futures.version = "0.3.5"' >>Cargo.toml
> cargo add futures-test
Command failed due to unhandled error: Unable to parse Cargo.toml

Caused by: Manifest not valid TOML
Caused by: TOML parse error at line 10, column 8
   |
10 | futures.version = "0.3.5"
   |        ^
Unexpected `.`
Expected `=`
@ordian
Copy link
Collaborator

ordian commented May 17, 2020

This feature is currently not supported in toml_edit toml-rs/toml#58.

@ordian
Copy link
Collaborator

ordian commented Sep 9, 2021

Support for dotted keys has been added to toml_edit thanks to @epage. Once we cut a release and update it in cargo-edit, this issue will be resolved.

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

Successfully merging a pull request may close this issue.

2 participants