Skip to content

Commit

Permalink
Update taplo config (#1358)
Browse files Browse the repository at this point in the history
* Update taplo config

* Fix Cargo.toml
  • Loading branch information
MOZGIII authored Dec 7, 2024
1 parent 0eab0c9 commit 8e24724
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ libsecp256k1 = { version = "0.7", default-features = false }
log = { version = "0.4", default-features = false }
mockall = { version = "0.11", default-features = false }
num = { version = "0.4", default-features = false }
num_enum = { version = "0.7", default-features = false }
num-traits = { version = "0.2", default-features = false }
num_enum = { version = "0.7", default-features = false }
numtoa = { version = "0.2", default-features = false }
once_cell = { version = "1", default-features = false }
proc-macro2 = { version = "1", default-features = false }
Expand Down
14 changes: 10 additions & 4 deletions taplo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
exclude = ["target/**"]
include = ["**/*.toml"]

[schema]
path = "taplo://taplo.toml"

[formatting]
reorder_keys = false
column_width = 120

[[rule]]
include = ["**/Cargo.toml"]
keys = ["dependencies", "dev-dependencies", "build-dependencies", "features"]
keys = [
"dependencies",
"dev-dependencies",
"build-dependencies",
"features",
"target.*.dependencies",
"target.*.dev-dependencies",
"target.*.build-dependencies",
"workspace.dependencies",
]

[rule.formatting]
reorder_keys = true
Expand Down

0 comments on commit 8e24724

Please sign in to comment.