16 breaking releases

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

#119 in #hook

Download history 62/week @ 2024-09-01 64/week @ 2024-09-08 53/week @ 2024-09-15 107/week @ 2024-09-22 90/week @ 2024-09-29 92/week @ 2024-10-06 79/week @ 2024-10-13 47/week @ 2024-10-20 56/week @ 2024-10-27 110/week @ 2024-11-03 75/week @ 2024-11-10 56/week @ 2024-11-17 49/week @ 2024-11-24 50/week @ 2024-12-01 107/week @ 2024-12-08 50/week @ 2024-12-15

269 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.7–1.5MB
~29K SLoC