16 breaking releases

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

#129 in #hook

Download history 60/week @ 2024-01-01 74/week @ 2024-01-08 86/week @ 2024-01-15 86/week @ 2024-01-22 62/week @ 2024-01-29 71/week @ 2024-02-05 69/week @ 2024-02-12 73/week @ 2024-02-19 69/week @ 2024-02-26 67/week @ 2024-03-04 68/week @ 2024-03-11 209/week @ 2024-03-18 116/week @ 2024-03-25 74/week @ 2024-04-01 66/week @ 2024-04-08 38/week @ 2024-04-15

396 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
~31K SLoC