rscript

Crates.iorscript
lib.rsrscript
version0.17.0
sourcesrc
created_at2021-06-15 04:21:26.673003
updated_at2022-01-14 16:26:25.066061
descriptionEasily script any rust project
homepage
repositoryhttps://github.com/sigmaSd/Rscript
max_upload_size
id410244
size32,491
(sigmaSd)

documentation

README

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

Commit count: 54

cargo fmt