| Crates.io | shrs_rhai |
| lib.rs | shrs_rhai |
| version | 0.0.6 |
| created_at | 2024-02-02 04:28:16.121758+00 |
| updated_at | 2024-06-01 04:58:34.068641+00 |
| description | run rhai scripts with shrs context |
| homepage | https://mrpicklepinosaur.github.io/shrs/ |
| repository | https://github.com/MrPicklePinosaur/shrs |
| max_upload_size | |
| id | 1124004 |
| size | 64,971 |
This is a plugin for shrs.
First add this plugin to your dependencies
shrs_rhai = { version = "0.0.6" }
Then include this plugin when initializing shrs
use shrs::prelude::*;
use shrs_rhai::RhaiPlugin;
let myshell = ShellBuilder::default()
.with_plugin(RhaiPlugin)
.build()
.unwrap();