2 unstable releases

0.2.0 Feb 2, 2024
0.1.0 Aug 20, 2023

#346 in Compression

MIT license

60KB
2K SLoC

asar_rs

@electron/asar Rust porting

I'm Rust beginner. This is my first time using rust (the code can be very ugly) and it passes the official tests.

cargo install asar_rs
$ asar
Creating Electron app packages

Usage: asar <COMMAND>

Commands:
  pack          create asar archive
  list          list files of asar archive
  extract-file  extract one file from archive
  extract       extract archive
  help          Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

# asar pack ...
$ asar p ./app ./app.asar

# asar extract ...
$ asar e ./app.asar ./_app

Dependencies

~4–15MB
~178K SLoC