fix: make filesystem writes and downloads cancellation-safe
This commit is contained in:
1 parent
615d3fb8fc
commit
7362354109
18 files changed
+427
-291
No files matched your search
+8
-4
@@ -30,7 +30,6 @@ color-eyre = "0.6.3"
|
||||
config = "0.15.6"
|
||||
crossterm = "0.29.0"
|
||||
display-info = "0.5.9"
|
||||
dirs-next = "2.0.0"
|
||||
log = "0.4"
|
||||
ratatui = { version = "0.30.0", features = ["serde", "unstable-rendered-line-info"] }
|
||||
ratatui-themekit = { version = "0.6", features = ["serde"] }
|
||||
@@ -64,7 +63,7 @@ image = { version = "0.25", default-features = false, features = ["gif", "jpeg",
|
||||
zip = "8.5.1"
|
||||
minecraft-msa-auth = "0.4.0"
|
||||
oauth2 = "5.0.0"
|
||||
open = "5"
|
||||
open = { version = "5", features = ["shellexecute-on-windows"] }
|
||||
which = "8.0.2"
|
||||
dirs = "6.0.0"
|
||||
notify = "8"
|
||||
@@ -74,7 +73,14 @@ libcasr = "2.13"
|
||||
fs2 = "0.4"
|
||||
fastnbt = "2.6.2"
|
||||
flate2 = "1.1.9"
|
||||
tempfile = "3"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
libc = "0.2"
|
||||
shlex = "1.3"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
windows-sys = { version = "0.61", features = ["Win32_Foundation", "Win32_Security", "Win32_System_JobObjects", "Win32_System_Threading", "Win32_System_Diagnostics_ToolHelp", "Win32_UI_Shell"] }
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
@@ -87,8 +93,6 @@ inherits = "release"
|
||||
lto = "thin"
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3"
|
||||
insta = "1"
|
||||
wiremock = "0.6"
|
||||
rstest = "0.23"
|
||||
image = { version = "0.25", default-features = false, features = ["png", "webp"] }
|
||||
Reference in new issue
Block a user