This repository has been archived by the owner on Dec 17, 2022. It is now read-only.
Install
Dependencies:
- Install dprint's CLI
In dprint configuration file:
-
Specify the plugin url and checksum in the
"plugins"
array. -
Ensure the
rs
extension is matched in an"includes"
pattern. -
Add a
"rustfmt"
configuration property if desired.{ // ...etc... "rustfmt": { "brace_style": "AlwaysNextLine" }, "includes": [ "**/*.{rs}" ], "plugins": [ "https://plugins.dprint.dev/rustfmt-0.6.2.json@886c6f3161cf020c2d75160262b0f56d74a521e05cfb91ec4f956650c8ca76ca" ] }