16 breaking releases

0.17.0 Jan 14, 2022
0.15.0 Oct 22, 2021
0.10.0 Jul 3, 2021

#127 in #hook

Download history 116/week @ 2024-03-25 74/week @ 2024-04-01 66/week @ 2024-04-08 38/week @ 2024-04-15 54/week @ 2024-04-22 95/week @ 2024-04-29 46/week @ 2024-05-06 65/week @ 2024-05-13 67/week @ 2024-05-20 111/week @ 2024-05-27 62/week @ 2024-06-03 40/week @ 2024-06-10 40/week @ 2024-06-17 30/week @ 2024-06-24 33/week @ 2024-07-01 33/week @ 2024-07-08

145 downloads per month
Used in 2 crates

MIT license

29KB
394 lines

rscript

Crate to easily script any rust project

Rscript

The main idea is:

  • Create a new crate (my-project-api for example)
  • Add hooks to this api-crate
  • This api-crate should be used by the main-crate and by the scripts
  • Trigger Hooks in the main crate
  • Receive the hooks on the script side, and react to them with any output

Goals:

  • Be as easy as possible to include on already established projects
  • Strive for maximum compile time guarantees

This crate was extracted from IRust

Taking IRust as an example:

Check out the examples for more info.

License: MIT

Dependencies

~0.8–1.6MB
~32K SLoC