10 stable releases
1.0.9 | May 20, 2020 |
---|---|
1.0.7 | Apr 11, 2020 |
1.0.6 | Apr 6, 2020 |
1.0.5 | Apr 5, 2020 |
1.0.3 | Apr 4, 2020 |
#10 in #v8
31 downloads per month
55KB
1.5K
SLoC
Rusty V8 Helper
The purpose of this project is to add more complex external functionality to my (Protryon) fork of rusty_v8.
Exports
- There are some utlity functions like
make_str
andrun_script
in::util
. ::object_wrap
providesObjectWrap
which allows the wrapped of an owned rust object inside a V8 object with weak deallocation within V8.- Importing
::ffi_map::*
Provides thev8_ffi
macro andload_v8_ffi
macro. See tests in::ffi_map
for details.- In general, the purpose of this module is to allow the near-transparent mapping of idiomatic rust functions to JS code via macro. This drastically cuts down on development overhead for FFI implementations.
Dependencies
~33MB
~711K SLoC