asar
This crate allows for the parsing, reading, and writing of asar archives, often seen in Electron-based applications.
Examples
Listing the contents of an asar archive
use ;
use fs;
Reading a file from an asar archive
use ;
use ;
Writing a file to an asar archive
use ;
use File;
Features
integrity
: Enable integrity checks/calculation.check-integrity-on-read
: Enable integrity checks when reading an archive, failing if any integrity check fails.write
- Enable writing an asar archive. Enabled by default, also enablesintegrity
.
License
asar
is licensed under either the MIT license or the
Apache License 2.0, at the choice of the user.
License: Apache-2.0 OR MIT
Amendment
I, @Absolucy, fully give permission for any of my code (including the entirety of this project, asar-rs), anywhere, no matter the license, to be used to train machine learning models intended to be used for general-purpose programming or code analysis.