Skip to content

Commit 0141c48

Browse files
committed
Disable display feature of toml-edit
This disables a lot of the serializer code that this crate does not need. While this does not completely address #37, it does reduce the cold compile-time slightly (on my high-end machine): 0.6 seconds.
1 parent a5939f3 commit 0141c48

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ readme = "./README.md"
1515
rust-version = "1.67.0"
1616

1717
[dependencies]
18-
toml_edit = "0.22.20"
18+
toml_edit = { version = "0.22.20", default-features = false, features = [
19+
"parse",
20+
] }
1921

2022
[dev-dependencies]
2123
quote = "1.0.37"

0 commit comments

Comments
 (0)