16 breaking releases

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

#117 in #hook

Download history 58/week @ 2024-11-13 51/week @ 2024-11-20 52/week @ 2024-11-27 51/week @ 2024-12-04 115/week @ 2024-12-11 93/week @ 2024-12-18 25/week @ 2024-12-25 49/week @ 2025-01-01 44/week @ 2025-01-08 30/week @ 2025-01-15 35/week @ 2025-01-22 32/week @ 2025-01-29 45/week @ 2025-02-05 44/week @ 2025-02-12 56/week @ 2025-02-19 42/week @ 2025-02-26

192 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