prettier-plugin-rust
release-pr
prettier-plugin-rust | release-pr | |
---|---|---|
10 | 2 | |
167 | 40 | |
- | - | |
4.1 | 3.2 | |
12 months ago | 7 days ago | |
Rust | TypeScript | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
prettier-plugin-rust
- Oxlint – written in Rust – 50-100 Times Faster than ESLint
-
Is rustfmt abandoned? Will it ever format `let ... else` syntax?
Same code formatted by Prettier Rust
-
Minimalist Rust formatter as an alternative to rustfmt?
There are alternatives to rustfmt: Prettier Rust and genemichaels
- Prettier Rust: An opinionated code formatter that autocorrects bad syntax
-
Configuring rust format to add line break before comments start
If you're open to using an alternative, here's how Prettier Rust would format your snippet:
- Prettier code formatter for Rust
- Prettier for Rust
release-pr
-
Oxlint – written in Rust – 50-100 Times Faster than ESLint
You should combine step 1 and 2 with CI. Just tag a version in your git, push to remote and have CI auto build a release for you.
Use github actions or other setup for other backends.
Or go nuts with cargo-release.
https://github.com/crate-ci/cargo-release
https://github.com/cargo-bins/release-pr
- A GitHub Action for creating "Release PRs" for Cargo projects.
What are some alternatives?
rustfmt - Format Rust code [Moved to: https://github.com/rust-lang/rustfmt]
rustfmt - Format Rust code
topiary
darker - Apply black reformatting to Python files only in regions changed since a given commit. For a practical usage example, see the blog post at https://dev.to/akaihola/improving-python-code-incrementally-3f7a
prettyplease - A minimal `syn` syntax tree pretty-printer
cbfmt - A tool to format codeblocks inside markdown and org documents.
genemichaels - Even formats macros
rfcs - RFCs for changes to Rust
oxc - ⚓ A collection of JavaScript tools written in Rust.
goformat - Alternative to gofmt with configurable formatting style (indentation etc.)
Cargo - The Rust package manager
taplo - A TOML toolkit written in Rust