Expand description
Asynchronous parser and writer for Electron’s asar archive format.
Requires Tokio runtime.
Currently supported:
- Parse archive from file or async reader
- Pack archive from multiple readers, or conveniently from a folder.
Currently not supported:
- Write and check integrity (planned)
- Unpacked files (planned)
FileMetadata::executable
(not planned, it is up to you whether use it or not)
Modules
Structures that describes asar’s header.
Structs
Generic asar archive reader.
TokioFile
with path that implements Duplicable
.
File from an asar archive.
Asar archive writer.
Traits
Ability to duplicate asynchronously.
Ability to duplicate asynchronously without Sync
.
Functions
Checks if a file is in asar format by reading and checking first 16 bytes.
pack_dir
fs
Pack a directory to asar archive.
pack_dir_into_stream
stream