scallop

Crates.ioscallop
lib.rsscallop
version0.0.30
created_at2022-09-16 20:57:19.623566+00
updated_at2025-12-13 10:03:59.72456+00
descriptionWrapper library for bash
homepagehttps://github.com/pkgcraft/pkgcraft/tree/main/crates/scallop
repositoryhttps://github.com/pkgcraft/pkgcraft/tree/main/crates/scallop
max_upload_size
id667754
size10,171,697
Tim Harder (radhermit)

documentation

README

crates.io

scallop

Scallop wraps a forked version of bash supporting shell interactions (e.g. writing builtins or modifying variables, arrays, and functions) natively in rust.

By default, a vendored copy of bash is built and linked into binaries as a static library. Using a shared library is possible by exporting SCALLOP_NO_VENDOR=1 during the build process which uses pkg-config to verify the library version matches the vendored version as bash doesn't use semantic versioning (mostly because upstream doesn't support building as a library).

Commit count: 7421

cargo fmt