Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

cargo tomlfmt #20

Open
thomaseizinger opened this issue Nov 27, 2019 · 1 comment
Open

cargo tomlfmt #20

thomaseizinger opened this issue Nov 27, 2019 · 1 comment

Comments

@thomaseizinger
Copy link

We use the cargo-tomlfmt binary to enforce a certain formatting of the Cargo.toml files.

Specifically, we sort the list of dependencies alphabetically which helps with avoiding merge conflicts.

Would you consider creating an action that allows to use this tool without having to install it every time?
Installing it takes somewhere around 4 minutes.

References:

@svartalf
Copy link
Member

Yeah, cargo install command is incredibly slow, but at this point this thing is blocked by #21.
I presume, it would be possible to make some kind of an opaque cache, which is automatically caches the artefacts generated by any cargo install command invoked; see linked issue for more details about that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants