Skip to content

Commit c548330

Browse files
committed
perf: Update TOML
1 parent 7213a4c commit c548330

File tree

3 files changed

+25
-31
lines changed

3 files changed

+25
-31
lines changed

Cargo.lock

Lines changed: 22 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ toml = ["dep:toml"]
135135
serde = "1.0"
136136

137137
async-trait = { version = "0.1", optional = true }
138-
toml = { version = "0.8", optional = true, default-features = false, features = ["parse"] }
138+
toml = { version = "0.9", optional = true, default-features = false, features = ["parse", "serde"] }
139139
serde_json = { version = "1.0", optional = true }
140140
yaml-rust2 = { version = "0.10", optional = true }
141141
rust-ini = { version = "0.21", optional = true }

tests/testsuite/file_toml.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,8 @@ error = tru
161161
TOML parse error at line 3, column 9
162162
|
163163
3 | error = tru
164-
| ^
165-
invalid string
166-
expected `"`, `'`
164+
| ^^^
165+
invalid boolean, expected `true`
167166
168167
"#]]
169168
);

0 commit comments

Comments
 (0)