Skip to content
项目

关于

RAR implementation in Rust

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
+5
15天
+6
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

rars

A Rust implementation of RAR.

rars is free software for compression, decompression and recovery of RAR archives. It supports all the archive types I could find - from the early RE~^ ones from the DOS days all the way through to RAR 7. It comes with a Rust library, a CLI, Python and TypeScript bindings.

It started as an agentic development experiment, and has since matured as it gained some users. It compresses slower than WinRAR in the general case, but is faster to unpack. It could use more testing at volume, too. Other than that it's in pretty good shape.

Install

cargo install rars-cli       # the CLI
cargo add rars               # the Rust library
pip install rars             # Python
npm install @bitplane/rars   # JavaScript, as WebAssembly for Node or the browser

Then rars --help. For example:

rars x archive.rar out/
rars a --format rar29 --solid archive.rar files...
rars a --format rar70 --volume-size 10m archive.part1.rar files...

For programs that run the unrar command, rars-cli also installs unrars, which takes unrar's commands, switches and exit codes. For programs that link against libunrar, bgermann's unrars crate wraps rars in the same C ABI.

Licensed under the Apache License, Version 2.0.

探索相关项目

加载中…