mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
e89d0fca35
Lifting some more dependencies to the workspace. Just using the most-often updated ones for now. It can be reproduced locally. ```sh # First you can check if there would be semver incompatible bumps (looks good in this case): $ zepter transpose dependency lift-to-workspace --ignore-errors syn quote thiserror "regex:^serde.*" # Then apply the changes: $ zepter transpose dependency lift-to-workspace --version-resolver=highest syn quote thiserror "regex:^serde.*" --fix # And format the changes: $ taplo format --config .config/taplo.toml ``` --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
36 lines
805 B
TOML
36 lines
805 B
TOML
# all options https://taplo.tamasfe.dev/configuration/formatter-options.html
|
|
|
|
# ignore zombienet as they do some deliberate custom toml stuff
|
|
exclude = [
|
|
"bridges/testing/**",
|
|
"cumulus/zombienet/**",
|
|
"polkadot/node/malus/integrationtests/**",
|
|
"polkadot/zombienet_tests/**",
|
|
"substrate/zombienet/**",
|
|
"target/**",
|
|
]
|
|
|
|
# global rules
|
|
[formatting]
|
|
reorder_arrays = true
|
|
inline_table_expand = false
|
|
array_auto_expand = false
|
|
array_auto_collapse = false
|
|
indent_string = " " # tab
|
|
|
|
# don't re-order order-dependent deb package metadata
|
|
[[rule]]
|
|
include = ["polkadot/Cargo.toml"]
|
|
keys = ["package.metadata.deb"]
|
|
|
|
[rule.formatting]
|
|
reorder_arrays = false
|
|
|
|
# don't re-order order-dependent rustflags
|
|
[[rule]]
|
|
include = [".cargo/config.toml"]
|
|
keys = ["build"]
|
|
|
|
[rule.formatting]
|
|
reorder_arrays = false
|