rars
A Rust implementation of RAR.
rars is free software and covers compression and decompression of archives
from the early RE~^ ones 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, uses more memory, compresses a little bit worse and CLI isn't compatible with unrar. It could probably use more testing, too.
Usage
The rars crate is the API, as used by the Python and TypeScript packages.
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, and some support for recovery
records and header encryption. There are a lot of args, run rars --help for
more info.
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, run 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.8.0.tar.gz.
File metadata
- Download URL: rars-0.8.0.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 |
f63a1a9c7b6324c61ce3db771278f8e44a24cc7799e4c2a6ad6e4a61f4dbf064
|
|
| MD5 |
ad0ec81e6a87c6f1cfda60f3f0d5cc57
|
|
| BLAKE2b-256 |
ff37c6ee2cde01aae0ff630097be4410db2fc480d2353782ee93e61f290d0390
|
Provenance
The following attestation bundles were made for rars-0.8.0.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.8.0.tar.gz -
Subject digest:
f63a1a9c7b6324c61ce3db771278f8e44a24cc7799e4c2a6ad6e4a61f4dbf064 - Sigstore transparency entry: 2500765995
- Sigstore integration time:
-
Permalink:
bitplane/rars@b6520dc6cc408c58e77525e59c39b1039cf70c6e -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/bitplane
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b6520dc6cc408c58e77525e59c39b1039cf70c6e -
Trigger Event:
push
-
Statement type:
File details
Details for the file rars-0.8.0-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: rars-0.8.0-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 995.4 kB
- 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 |
da318016dbb9c45c05cfe12ccf1ec9c252025f1dcd6ef57c5f3ca7f258355ad4
|
|
| MD5 |
509424600f07153ef7262b81dfe182e4
|
|
| BLAKE2b-256 |
837ab56b434dfeca8895cf432c64b04135a7a95b81af60278e4c1dc242cc83d1
|
Provenance
The following attestation bundles were made for rars-0.8.0-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.8.0-cp310-abi3-win_amd64.whl -
Subject digest:
da318016dbb9c45c05cfe12ccf1ec9c252025f1dcd6ef57c5f3ca7f258355ad4 - Sigstore transparency entry: 2500766044
- Sigstore integration time:
-
Permalink:
bitplane/rars@b6520dc6cc408c58e77525e59c39b1039cf70c6e -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/bitplane
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b6520dc6cc408c58e77525e59c39b1039cf70c6e -
Trigger Event:
push
-
Statement type:
File details
Details for the file rars-0.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rars-0.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.6 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 |
2e43480c55302da363747abc44333e426c8ac95451f5d6c95ebc53f728644204
|
|
| MD5 |
f2909724a44281d4d74772e34e244973
|
|
| BLAKE2b-256 |
f1e5defe25c2eae5c6a652f39c86ec9b54ca606bf430fbdff145b40a83293342
|
Provenance
The following attestation bundles were made for rars-0.8.0-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.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
2e43480c55302da363747abc44333e426c8ac95451f5d6c95ebc53f728644204 - Sigstore transparency entry: 2500766165
- Sigstore integration time:
-
Permalink:
bitplane/rars@b6520dc6cc408c58e77525e59c39b1039cf70c6e -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/bitplane
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b6520dc6cc408c58e77525e59c39b1039cf70c6e -
Trigger Event:
push
-
Statement type:
File details
Details for the file rars-0.8.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: rars-0.8.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 4.0 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 |
a39a3f73586883ae2f327ddefa311ce917034a39f4791b9484fbe1a7442da880
|
|
| MD5 |
21e3ef11512a7186c7da83cfc4f314f4
|
|
| BLAKE2b-256 |
a822fc01594ba179b46a97b04d40eba67545e7a45de1bc528dc5d5a48598b2f7
|
Provenance
The following attestation bundles were made for rars-0.8.0-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.8.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
a39a3f73586883ae2f327ddefa311ce917034a39f4791b9484fbe1a7442da880 - Sigstore transparency entry: 2500766123
- Sigstore integration time:
-
Permalink:
bitplane/rars@b6520dc6cc408c58e77525e59c39b1039cf70c6e -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/bitplane
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b6520dc6cc408c58e77525e59c39b1039cf70c6e -
Trigger Event:
push
-
Statement type:
File details
Details for the file rars-0.8.0-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.
File metadata
- Download URL: rars-0.8.0-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 |
e9b1009407499afec6e2385caa2df57803e4c71e693f5a5d73e83062839d7270
|
|
| MD5 |
b47c36fe3ae0f5f5794a3e67dc8587a4
|
|
| BLAKE2b-256 |
2d5a18f92f19a99aa59f7bda5b5ebdc24cc558fa8818236deff91e96b6fb89e2
|
Provenance
The following attestation bundles were made for rars-0.8.0-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.8.0-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl -
Subject digest:
e9b1009407499afec6e2385caa2df57803e4c71e693f5a5d73e83062839d7270 - Sigstore transparency entry: 2500766085
- Sigstore integration time:
-
Permalink:
bitplane/rars@b6520dc6cc408c58e77525e59c39b1039cf70c6e -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/bitplane
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b6520dc6cc408c58e77525e59c39b1039cf70c6e -
Trigger Event:
push
-
Statement type: