mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-14 02:14:26 -05:00
694ade11d1
If we want to use stable Rust, we can't use cargo-fmt with nightly features.
26 lines
852 B
JSON
26 lines
852 B
JSON
{
|
|
"$schema": "https://dprint.dev/schemas/v0.json",
|
|
"projectType": "openSource",
|
|
"incremental": true,
|
|
"markdown": {
|
|
},
|
|
"rustfmt": {
|
|
"edition": 2018,
|
|
"condense_wildcard_suffixes": true,
|
|
"format_macro_matchers": true,
|
|
"imports_granularity" : "Module",
|
|
"use_field_init_shorthand": true,
|
|
"format_code_in_doc_comments": true,
|
|
"normalize_comments": true,
|
|
"wrap_comments": true,
|
|
"overflow_delimited_expr": true
|
|
},
|
|
"includes": ["**/*.{md}", "**/*.{toml}", "**/*.{rs}"],
|
|
"excludes": [ "target/" ],
|
|
"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",
|
|
"https://plugins.dprint.dev/rustfmt-0.4.0.exe-plugin@c6bb223ef6e5e87580177f6461a0ab0554ac9ea6b54f78ea7ae8bf63b14f5bc2"
|
|
]
|
|
}
|