Use a temporary file for writes (#9236)

Co-authored-by: Pascal Kuthe <pascalkuthe@pm.me>
This commit is contained in:
Kirawi 2024-03-31 18:43:09 -04:00 committed by GitHub
parent a224ee5079
commit 88d455afeb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 569 additions and 77 deletions

4
Cargo.lock generated
View file

@ -1405,12 +1405,15 @@ version = "24.3.0"
name = "helix-stdx"
version = "24.3.0"
dependencies = [
"bitflags 2.5.0",
"dunce",
"etcetera",
"regex-cursor",
"ropey",
"rustix",
"tempfile",
"which",
"windows-sys 0.52.0",
]
[[package]]
@ -1515,6 +1518,7 @@ dependencies = [
"serde",
"serde_json",
"slotmap",
"tempfile",
"tokio",
"tokio-stream",
"toml",