Narser is a replacement for nix nar
that aims to be simple and fast.
Currently, narser pack
is around twice as fast as Nix at packing the Linux kernel source code, at least when discarding the output or writing to a tmpfs. (see benchmark)
However, the hash
subcommand is somewhat slower than nix hash path
.
NOTE: Not to be confused with the Narser parser generator, which is 9 years old. See also narz, another Zig-based alternative.
DO NOT run on a filesystem with case-insensitive file names as that allows an attacker to write to arbitrary files with the same permissions as the invoking user.
Narser simultaneously targets the latest stable and nightly releases of Zig. If it fails to build on either, that is a bug. Due to 0.15.0 releasing soon, only the latest nightly is supported.
- Clean up code
- Revamp the Zig interface
- Add documentation
- Add more tests
Please read CONTRIBUTING.md for some guidelines and view some of my other repos for contact information.
TL;DR: There is nothing to worry about if you don't use AI and you follow Github's ToS.