2 releases

0.0.2 Apr 4, 2025
0.0.1 Apr 2, 2025

#135 in FFI

Download history 183/week @ 2025-03-29 91/week @ 2025-04-05 3/week @ 2025-04-12

277 downloads per month

BSD-3-Clause

10KB
247 lines

ruszt

Rust functions for bash!

Building

To build this project, you need to have the bash headers and pkg-config installed.

Examples

There are some examples in the examples folder:

  • hello: a basic Hello World example
  • variables: working with variables

References for writing functions for bash in C in general: https://mywiki.wooledge.org/BashLoadableBuiltins

Thanks to sdomi for nerdsniping me into it and helping with code and motivation.

Dependencies

~0.3–2.6MB
~54K SLoC