-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pull all dependencies to the workspace (#314)
Changes: - Pull all dependencies to the workspace and add a CI check. - Fixup the crates that had differing dependency aliases. - Add CI check to keep deps in the workspace - Add Taplo config for TOML formatting (follow up: add CI check) This is a preliminary to updating to the new SDK version as we currently use conflicting aliases for a few packages while packages are not able to rename workspace deps, see rust-lang/cargo#12546 This is a No-OP change, as can be verified with this: ```bash git checkout oty-fix-dependencies cargo tree -e features > oty.tree git checkout origin/main cargo tree -e features > main.tree diff main.tree oty.tree ``` - [x] Does not require a CHANGELOG entry --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: ordian <noreply@reusable.software>
- Loading branch information
Showing
67 changed files
with
793 additions
and
705 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# all options https://taplo.tamasfe.dev/configuration/formatter-options.html | ||
|
||
exclude = [ | ||
"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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.