mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-11-11 13:10:39 +00:00
1820139786
Invoking cargo tomlfmt on all files is a PITA and as we can see from the CI scripts, it is often forgotten to as new crates are added to the workspace. Using dprint for toml files fixes this. Unfortunately, we can't use dprint for Rust code yet because there hasn't been a release of rustfmt in quite a while but we are already using features from a newer rustfmt via rustup.
16 lines
408 B
JSON
16 lines
408 B
JSON
{
|
|
"$schema": "https://dprint.dev/schemas/v0.json",
|
|
"projectType": "openSource",
|
|
"incremental": true,
|
|
"markdown": {
|
|
},
|
|
"includes": ["**/*.{md}", "**/*.{toml}"],
|
|
"excludes": [
|
|
"./tokio-tar/Cargo.toml"
|
|
],
|
|
"plugins": [
|
|
"https://plugins.dprint.dev/markdown-0.6.1.wasm",
|
|
"https://github.com/thomaseizinger/dprint-plugin-cargo-toml/releases/download/0.1.0/cargo-toml-0.1.0.wasm"
|
|
]
|
|
}
|