mirror of
https://github.com/signalapp/libsignal.git
synced 2024-09-20 03:52:17 +02:00
9b34467614
Use https://github.com/tamasfe/taplo to auto-format TOML files. Add a config file to force reordering of dependencies in Cargo.toml files. Run taplo in CI to check formatting.
14 lines
230 B
TOML
14 lines
230 B
TOML
include = ["Cargo.toml", "rust/**/*.toml"]
|
|
|
|
[formatting]
|
|
reorder_keys = false
|
|
indent_string = ' '
|
|
|
|
[[rule]]
|
|
include = ["**/Cargo.toml"]
|
|
keys = ["dependencies"]
|
|
|
|
[rule.formatting]
|
|
reorder_keys = true
|
|
inline_table_expand = false
|