mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-29 10:42:21 +03:00
96fd12c710
--------- Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
14 lines
307 B
TOML
14 lines
307 B
TOML
# Sorts `Cargo.toml` dependencies. All other `.toml` files are formatted with the default config.
|
|
#
|
|
# https://taplo.tamasfe.dev/configuration/file.html#configuration-file
|
|
|
|
[formatting]
|
|
reorder_keys = false
|
|
|
|
[[rule]]
|
|
include = ["**/Cargo.toml"]
|
|
keys = ["dependencies"]
|
|
|
|
[rule.formatting]
|
|
reorder_keys = true
|