Skip to content

format Cargo.toml aswell #5893

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

Closed
dvc94ch opened this issue Aug 24, 2023 · 2 comments
Closed

format Cargo.toml aswell #5893

dvc94ch opened this issue Aug 24, 2023 · 2 comments

Comments

@dvc94ch
Copy link

dvc94ch commented Aug 24, 2023

inconsistent formatting of Cargo.toml files is annoying. there are some tools to format toml files, but might make sense to have support in rustfmt so that cargo fmt and rust-analyzer can format Cargo.toml files too. I guess there could even be more sophisticated support in the future, like autocompletion of feature names defined in Cargo.toml. But if it just supported formatting Cargo.toml's I'd be very pleased.

@ytmimi
Copy link
Contributor

ytmimi commented Aug 24, 2023

Thanks for reaching out! This is a duplicate of #4091. You can follow that issue for updates on Cargo.toml formatting.

@ytmimi ytmimi closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2023
@dvc94ch
Copy link
Author

dvc94ch commented Aug 24, 2023

ah did search the issues, but did't see it. thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants