switch to rar-stream for rar archive support
All checks were successful
CI / build (push) Successful in 42s
CI / checks (push) Successful in 50s
CI / build-nixpkgs (push) Successful in 35s

This commit is contained in:
Robin Appelman 2026-04-10 19:14:30 +02:00
commit d03092aa16
4 changed files with 34 additions and 56 deletions

41
Cargo.lock generated
View file

@ -1027,6 +1027,7 @@ dependencies = [
"main_error",
"matchit",
"osc94",
"rar-stream",
"ratatui",
"rayon",
"regex",
@ -1039,7 +1040,6 @@ dependencies = [
"tikv-jemallocator",
"time",
"tinystr",
"unrar",
"xz2",
"zip",
]
@ -1438,6 +1438,16 @@ version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
[[package]]
name = "rar-stream"
version = "5.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0bad41fc4447843b83b5e858b778dedcbbaf116e2bd3d7e21ab19ed096a942ef"
dependencies = [
"crossbeam-channel",
"rayon",
]
[[package]]
name = "ratatui"
version = "0.30.0"
@ -2113,29 +2123,6 @@ version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "81e544489bf3d8ef66c953931f56617f423cd4b5494be343d9b9d3dda037b9a3"
[[package]]
name = "unrar"
version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "92ec61343a630d2b50d13216dea5125e157d3fc180a7d3f447d22fe146b648fc"
dependencies = [
"bitflags 2.11.0",
"regex",
"unrar_sys",
"widestring",
]
[[package]]
name = "unrar_sys"
version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b77675b883cfbe6bf41e6b7a5cd6008e0a83ba497de3d96e41a064bbeead765"
dependencies = [
"cc",
"libc",
"winapi",
]
[[package]]
name = "utf8parse"
version = "0.2.2"
@ -2360,12 +2347,6 @@ dependencies = [
"wezterm-dynamic",
]
[[package]]
name = "widestring"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72069c3113ab32ab29e5584db3c6ec55d416895e60715417b5b883a357c3e471"
[[package]]
name = "winapi"
version = "0.3.9"