Skip to content

Commit 4b59346

Browse files
committed
treewide: set up Taplo; format TOML files
Signed-off-by: NotAShelf <[email protected]> Change-Id: I6a6a69643aa993276a3cf38558001100ccefda1b
1 parent 0dea117 commit 4b59346

File tree

17 files changed

+126
-95
lines changed

17 files changed

+126
-95
lines changed

.taplo.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[formatting]
2+
align_entries = true
3+
column_width = 100
4+
compact_arrays = false
5+
reorder_inline_tables = true
6+
reorder_keys = true
7+
8+
[[rule]]
9+
include = [ "**/Cargo.toml" ]
10+
keys = [ "package" ]
11+
12+
[rule.formatting]
13+
reorder_keys = false

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[workspace]
2-
resolver = "2"
32
members = [
43
"anyrun",
54
"anyrun-plugin",
@@ -14,5 +13,7 @@ members = [
1413
"plugins/stdin",
1514
"plugins/dictionary",
1615
"plugins/websearch",
17-
"plugins/nix-run", "plugins/niri-focus",
16+
"plugins/nix-run",
17+
"plugins/niri-focus",
1818
]
19+
resolver = "2"

anyrun-macros/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "anyrun-macros"
2+
name = "anyrun-macros"
33
version = "25.9.3"
44
edition = "2021"
55

@@ -10,4 +10,4 @@ proc-macro = true
1010

1111
[dependencies]
1212
quote = "1.0.37"
13-
syn = { version = "2.0.85", features = ["full"] }
13+
syn = { features = [ "full" ], version = "2.0.85" }

anyrun-plugin/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
2-
name = "anyrun-plugin"
2+
name = "anyrun-plugin"
33
version = "25.9.3"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
abi_stable = "0.11.1"
9+
abi_stable = "0.11.1"
1010
anyrun-interface = { git = "https://github.com/anyrun-org/anyrun-interface" }
11-
anyrun-macros = { path = "../anyrun-macros" }
11+
anyrun-macros = { path = "../anyrun-macros" }

anyrun/Cargo.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
[package]
2-
name = "anyrun"
2+
name = "anyrun"
33
version = "25.9.3"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
anyrun-macros = { path = "../anyrun-macros" }
10-
abi_stable = "0.11.1"
11-
ron = "0.8.0"
12-
serde = { version = "1.0.210", features = ["derive"] }
13-
anyrun-interface = { git = "https://github.com/anyrun-org/anyrun-interface" }
9+
abi_stable = "0.11.1"
10+
anyrun-interface = { git = "https://github.com/anyrun-org/anyrun-interface" }
11+
anyrun-macros = { path = "../anyrun-macros" }
1412
anyrun-provider-ipc = { git = "https://github.com/anyrun-org/anyrun-provider" }
15-
clap = { version = "4.2.7", features = ["derive"] }
16-
relm4 = { git = "https://github.com/Kirottu/Relm4", branch = "service" }
17-
gtk4-layer-shell = "0.6.3"
18-
gtk4 = "0.10.0"
19-
serde_json = "1.0.143"
20-
tokio = { version = "1.47.1", features = ["sync", "rt-multi-thread", "net", "macros"] }
21-
tree_magic_mini = "3.2.0"
13+
clap = { features = [ "derive" ], version = "4.2.7" }
14+
gtk4 = "0.10.0"
15+
gtk4-layer-shell = "0.6.3"
16+
relm4 = { branch = "service", git = "https://github.com/Kirottu/Relm4" }
17+
ron = "0.8.0"
18+
serde = { features = [ "derive" ], version = "1.0.210" }
19+
serde_json = "1.0.143"
20+
tokio = { features = [ "sync", "rt-multi-thread", "net", "macros" ], version = "1.47.1" }
21+
tree_magic_mini = "3.2.0"

plugins/applications/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[package]
2-
name = "applications"
2+
name = "applications"
33
version = "25.9.3"
44
edition = "2021"
55

66
[lib]
7-
crate-type = ["cdylib"]
7+
crate-type = [ "cdylib" ]
88

99
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1010

1111
[dependencies]
12+
abi_stable = "0.11.1"
1213
anyrun-plugin = { path = "../../anyrun-plugin" }
13-
abi_stable = "0.11.1"
14-
sublime_fuzzy = "0.7.0"
1514
fuzzy-matcher = "0.3.7"
16-
ron = "0.8.0"
17-
serde = { version = "1.0.159", features = ["derive"] }
15+
ron = "0.8.0"
16+
serde = { features = [ "derive" ], version = "1.0.159" }
17+
sublime_fuzzy = "0.7.0"

plugins/dictionary/Cargo.toml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
[package]
2-
name = "dictionary"
2+
name = "dictionary"
33
version = "25.9.3"
44
edition = "2021"
55

66
[lib]
7-
crate-type = ["cdylib"]
7+
crate-type = [ "cdylib" ]
88

99
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1010

1111
[dependencies]
12-
anyrun-plugin = { path = "../../anyrun-plugin" }
1312
abi_stable = "0.11.1"
14-
reqwest = { version = "0.11.16", default-features = false, features = ["blocking", "json", "rustls-tls"] }
15-
serde = { version = "1.0.160", features = ["derive"] }
13+
anyrun-plugin = { path = "../../anyrun-plugin" }
14+
reqwest = { default-features = false, features = [
15+
"blocking",
16+
"json",
17+
"rustls-tls",
18+
], version = "0.11.16" }
1619
ron = "0.8.0"
20+
serde = { features = [ "derive" ], version = "1.0.160" }

plugins/kidex/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
[package]
2-
name = "kidex"
2+
name = "kidex"
33
version = "25.9.3"
44
edition = "2021"
55

66
[lib]
7-
crate-type = ["cdylib"]
7+
crate-type = [ "cdylib" ]
88

99
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1010

1111
[dependencies]
12+
abi_stable = "0.11.1"
1213
anyrun-plugin = { path = "../../anyrun-plugin" }
13-
kidex-common = { version = "0.1.0", features = ["util"] }
14-
abi_stable = "0.11.1"
1514
fuzzy-matcher = "0.3.7"
16-
open = "3.2.0"
17-
serde = { version = "1.0.160", features = ["derive"] }
18-
ron = "0.8.0"
15+
kidex-common = { features = [ "util" ], version = "0.1.0" }
16+
open = "3.2.0"
17+
ron = "0.8.0"
18+
serde = { features = [ "derive" ], version = "1.0.160" }

plugins/niri-focus/Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
[package]
2-
name = "niri-focus"
2+
name = "niri-focus"
33
version = "25.9.3"
44
edition = "2024"
55

66
[lib]
7-
crate-type = ["cdylib"]
7+
crate-type = [ "cdylib" ]
88

99
[dependencies]
10-
niri-ipc = "25.5.1"
11-
fuzzy-matcher = "0.3.7"
12-
anyrun-plugin = { path = "../../anyrun-plugin" }
13-
abi_stable = "0.11.1"
14-
serde = { version = "1.0.219", features = ["derive"] }
15-
ron = "0.10.1"
10+
abi_stable = "0.11.1"
11+
anyrun-plugin = { path = "../../anyrun-plugin" }
1612
freedesktop-desktop-entry = "0.7.14"
13+
fuzzy-matcher = "0.3.7"
14+
niri-ipc = "25.5.1"
15+
ron = "0.10.1"
16+
serde = { features = [ "derive" ], version = "1.0.219" }

plugins/nix-run/Cargo.toml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
[package]
2-
name = "nix-run"
2+
name = "nix-run"
33
version = "25.9.3"
44
edition = "2024"
55

66
[lib]
7-
crate-type = ["cdylib"]
7+
crate-type = [ "cdylib" ]
88

99
[dependencies]
10-
anyrun-plugin = { path = "../../anyrun-plugin" }
1110
abi_stable = "0.11.1"
12-
reqwest = { version = "0.12.23", default-features = false, features = ["blocking", "brotli", "json", "rustls-tls"] }
11+
anyrun-plugin = { path = "../../anyrun-plugin" }
12+
fuzzy-matcher = "0.3.7"
13+
reqwest = { default-features = false, features = [
14+
"blocking",
15+
"brotli",
16+
"json",
17+
"rustls-tls",
18+
], version = "0.12.23" }
1319
ron = "0.10.1"
14-
serde = { version = "1.0.219", features = ["derive"] }
20+
serde = { features = [ "derive" ], version = "1.0.219" }
1521
serde_json = "1.0.142"
16-
fuzzy-matcher = "0.3.7"

0 commit comments

Comments
 (0)