Skip to content

Commit c6b370f

Browse files
committed
fix(ci): collapse inline tables to single line for rust 1.88
The tombi 'fmt' left multi-line inline tables in Cargo.toml, which are TOML 1.1 syntax that Cargo on our MSRV (rust 1.88) rejects with 'invalid inline table'. tombi.toml already caps line-width so tombi keeps these single-line going forward.
1 parent 328ecfb commit c6b370f

2 files changed

Lines changed: 3 additions & 29 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,7 @@ notify = "8"
4848
notify-debouncer-mini = "0.7"
4949
once_cell = "1"
5050
parking_lot_core = "0.9"
51-
ratatui = {
52-
version = "0.30",
53-
default-features = false,
54-
features = [
55-
"crossterm",
56-
"serde",
57-
]
58-
}
51+
ratatui = { version = "0.30", default-features = false, features = ["crossterm", "serde"] }
5952
ratatui-textarea = "0.8"
6053
rayon-core = "1.13"
6154
ron = "0.12"
@@ -65,17 +58,7 @@ serde = "1.0"
6558
shellexpand = "3.1"
6659
simplelog = { version = "0.12", default-features = false }
6760
struct-patch = "0.10"
68-
syntect = {
69-
version = "5.3",
70-
default-features = false,
71-
features = [
72-
"default-syntaxes",
73-
"default-themes",
74-
"html",
75-
"parsing",
76-
"plist-load",
77-
]
78-
}
61+
syntect = { version = "5.3", default-features = false, features = ["default-syntaxes", "default-themes", "html", "parsing", "plist-load"] }
7962
two-face = { version = "0.4.4", default-features = false }
8063
unicode-segmentation = "1.12"
8164
unicode-truncate = "2.0"

asyncgit/Cargo.toml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,7 @@ easy-cast = "0.5"
1919
fuzzy-matcher = "0.3"
2020
git2 = { version = "0.21", features = ["https"] }
2121
git2-hooks = { path = "../git2-hooks", version = "0.7" }
22-
gix = {
23-
version = "0.78.0",
24-
default-features = false,
25-
features = [
26-
"mailmap",
27-
"max-performance",
28-
"revision",
29-
"status",
30-
]
31-
}
22+
gix = { version = "0.78.0", default-features = false, features = ["mailmap", "max-performance", "revision", "status"] }
3223
log = "0.4"
3324
# git2 = { path = "../../extern/git2-rs", features = ["vendored-openssl"]}
3425
# git2 = { git="https://github.com/extrawurst/git2-rs.git", rev="fc13dcc", features = ["vendored-openssl"]}

0 commit comments

Comments
 (0)