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's a bit slower than WinRAR, it uses more memory and has slightly worse compression. It could probably use more testing, too. Other than that it's in pretty good shape.
Usage
The API is in the rars crate, which is used by the Python and TypeScript
bindings. For the CLI, run:
cargo install rars-cli.
To inspect, test, and extract archives:
rars info archive.rar
rars test archive.rar
rars x archive.rar out/
To create archives with a specific RAR generation:
rars a --format rar29 archive.rar files...
rars a --format rar50 --solid --auto-filter archive.rar files...
rars a --format rar70 --store --volume-size 10m archive.part1.rar files...
The writer supports stored and compressed members, split volumes, passwords,
comments, RARVM filters, RAR5 quick-open records, recovery records and header
encryption. There are a lot of things I won't list here, so run rars --help
for more details.
Bindings
Python bindings are published to pypi, so you
can pip install rars. To build locally, it's just python.
For JS it's built to WebAssembly and published to
npm;
npm install @bitplane/rars. It reads and writes in the browser and in Node,
with no native module. To build locally, type just npm.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rars-0.9.2.tar.gz.
File metadata
- Download URL: rars-0.9.2.tar.gz
- Upload date:
- Size: 4.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f73a0943f36d7ca169a2bbb84df303e5f0c866963c7ba5ba35faebdaa46a0b0
|
|
| MD5 |
a3e36247ad3775634d671f0fdd46e87a
|
|
| BLAKE2b-256 |
26aa59915ab82606508b678d089ef8974d7bb4addb14ece87faba9b96b4d2e41
|
Provenance
The following attestation bundles were made for rars-0.9.2.tar.gz:
Publisher:
release.yml on bitplane/rars
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rars-0.9.2.tar.gz -
Subject digest:
5f73a0943f36d7ca169a2bbb84df303e5f0c866963c7ba5ba35faebdaa46a0b0 - Sigstore transparency entry: 2553191649
- Sigstore integration time:
-
Permalink:
bitplane/rars@12d915e252755668f91bf978f18c7faafc5be45d -
Branch / Tag:
refs/tags/v0.9.2 - Owner: https://github.com/bitplane
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@12d915e252755668f91bf978f18c7faafc5be45d -
Trigger Event:
push
-
Statement type:
File details
Details for the file rars-0.9.2-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: rars-0.9.2-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6187e0c998e0f909d4f934ceaec8bf1909f8579738a05ed76a293354c3de12b
|
|
| MD5 |
b28c2fd79fbe3ac1a86a174ca17f8085
|
|
| BLAKE2b-256 |
ef8e435c89e0ea7c0e73467b25bfcd0983a53ad17a5c6de6b7382e1bc9a30548
|
Provenance
The following attestation bundles were made for rars-0.9.2-cp310-abi3-win_amd64.whl:
Publisher:
release.yml on bitplane/rars
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rars-0.9.2-cp310-abi3-win_amd64.whl -
Subject digest:
c6187e0c998e0f909d4f934ceaec8bf1909f8579738a05ed76a293354c3de12b - Sigstore transparency entry: 2553191859
- Sigstore integration time:
-
Permalink:
bitplane/rars@12d915e252755668f91bf978f18c7faafc5be45d -
Branch / Tag:
refs/tags/v0.9.2 - Owner: https://github.com/bitplane
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@12d915e252755668f91bf978f18c7faafc5be45d -
Trigger Event:
push
-
Statement type:
File details
Details for the file rars-0.9.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rars-0.9.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b7f3b46cb43327e83d05093e8970aaab1ff838290427e16626c7e91fdafa84d
|
|
| MD5 |
286143d08e2eabb8efae506f5049a943
|
|
| BLAKE2b-256 |
759e20d0aa944ac1c6b1c00a0d5c75217b3a96e3fef1d9ef0d82a27ceec39a0d
|
Provenance
The following attestation bundles were made for rars-0.9.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on bitplane/rars
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rars-0.9.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
1b7f3b46cb43327e83d05093e8970aaab1ff838290427e16626c7e91fdafa84d - Sigstore transparency entry: 2553191738
- Sigstore integration time:
-
Permalink:
bitplane/rars@12d915e252755668f91bf978f18c7faafc5be45d -
Branch / Tag:
refs/tags/v0.9.2 - Owner: https://github.com/bitplane
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@12d915e252755668f91bf978f18c7faafc5be45d -
Trigger Event:
push
-
Statement type:
File details
Details for the file rars-0.9.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: rars-0.9.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 4.1 MB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45155ee1228dfe429ec3ab438714594a2abdf6207057679f84c165bcc8072be4
|
|
| MD5 |
5715bd2c99ffbcb9f15e998988787022
|
|
| BLAKE2b-256 |
5c279ebc38092d1a1a70f60bcd48ed2cc33f726a1edff43bf66114586b906a03
|
Provenance
The following attestation bundles were made for rars-0.9.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
release.yml on bitplane/rars
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rars-0.9.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
45155ee1228dfe429ec3ab438714594a2abdf6207057679f84c165bcc8072be4 - Sigstore transparency entry: 2553191694
- Sigstore integration time:
-
Permalink:
bitplane/rars@12d915e252755668f91bf978f18c7faafc5be45d -
Branch / Tag:
refs/tags/v0.9.2 - Owner: https://github.com/bitplane
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@12d915e252755668f91bf978f18c7faafc5be45d -
Trigger Event:
push
-
Statement type:
File details
Details for the file rars-0.9.2-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.
File metadata
- Download URL: rars-0.9.2-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.10+, macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
852b4f621e3110d4d0636af2b1a403e36c668ee010f5c3020dfa0c85a3196d99
|
|
| MD5 |
74831ce4b20152d25e5d770ccbe79b28
|
|
| BLAKE2b-256 |
ae57968a0e310f4f947b198a443c1adffd16fcf01a97bb2272cb37abb0e5a66a
|
Provenance
The following attestation bundles were made for rars-0.9.2-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:
Publisher:
release.yml on bitplane/rars
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rars-0.9.2-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl -
Subject digest:
852b4f621e3110d4d0636af2b1a403e36c668ee010f5c3020dfa0c85a3196d99 - Sigstore transparency entry: 2553191784
- Sigstore integration time:
-
Permalink:
bitplane/rars@12d915e252755668f91bf978f18c7faafc5be45d -
Branch / Tag:
refs/tags/v0.9.2 - Owner: https://github.com/bitplane
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@12d915e252755668f91bf978f18c7faafc5be45d -
Trigger Event:
push
-
Statement type: