Crates.io | wren |
lib.rs | wren |
version | 0.1.12 |
source | src |
created_at | 2015-01-06 13:57:15.159405 |
updated_at | 2017-06-30 21:08:00.125779 |
description | Bindings to the Wren scripting language API |
homepage | https://github.com/calviken/wren-rust |
repository | https://github.com/calviken/wren-rust |
max_upload_size | |
id | 725 |
size | 36,225 |
Rust bindings to the Wren scripting language API.
Crate documentation is somewhat lacking at the moment.
For complete documentation on each type and function, refer to wren.h
in the official Wren repository.
Wren is still under heavy development. I'll do my best to keep these bindings up-to-date as new features are added. If you notice a missing feature, feel free to create an issue or pull request.
Wren doesn't do any kind of validation outside of a few assertions in debug builds. This means it's very easy to get Undefined Behavior in release builds if you're not careful (especially when processing arbitrary scripts).
Most functions in this crate include additional safety features to help avoid these problems. In particular:
wrenEnsureSlots
is called automatically when setting slot values.