commit 193ea42ea1d36228717839a25d1badf415e71320 from: murilo ijanc date: Thu Nov 20 22:08:49 2025 UTC Add support to exec rustfmt commit - 96ce496310f086af43dcb51adda52ec4bd90c89c commit + 193ea42ea1d36228717839a25d1badf415e71320 blob - 284a8eed34bf57cfd24efcd72e3dba103be26da4 blob + a2a3c8fcee81c8ea07b0a0d4de09ffb9265139f1 --- dprint.json +++ dprint.json @@ -1,20 +1,25 @@ { - "lineWidth": 79, "markdown": { - "textWrap": "always" }, - "json": { - "indentWidth": 2 - }, "toml": { }, "excludes": [ - "CHANGELOG.md", "deny.toml" ], + "exec": { + "cwd": "${configDir}", + "commands": [{ + "command": "rustfmt", + "exts": ["rs"], + "cacheKeyFiles": [ + ".rustfmt.toml", + "rust-toolchain.toml" + ] + }] + }, "plugins": [ - "https://plugins.dprint.dev/json-0.21.0.wasm", "https://plugins.dprint.dev/markdown-0.20.0.wasm", - "https://plugins.dprint.dev/toml-0.7.0.wasm" + "https://plugins.dprint.dev/toml-0.7.0.wasm", + "https://plugins.dprint.dev/exec-0.6.0.json@a054130d458f124f9b5c91484833828950723a5af3f8ff2bd1523bd47b83b364" ] }