jsi-rs
                                
                                
                                
                                    jsi-rs copied to clipboard
                            
                            
                            
                        Write ultra fast React Native modules in Rust
jsi-rs
This library makes it possible to write React Native JSI modules in Rust.
For an example, check out the example folder.
Getting Started
- Clone this repo
 - Run 
git submodule init - Run 
git submodule update, this will ensure that all the vendor dependencies are cloned locally - Make sure you have Ninja installed locally, which is necessary for building Hermes. You can find instructions here. On macOS, you can install it with 
brew install ninja - Install dependencies for the example app: 
cd example && yarn install - Run the example app on android with 
yarn android 
NOTE: Make sure that you have not installed rust with homebrew on mac, use the
rustuptoolchain instead.
Contributing
I wrote this code in winter 2022 as part of another project. A few months later, I have decided to release it to the world. However, I'm not planning to maintain it unless I encounter another project that requires it, so for now, the code is given to you as-is. Feel free to contribute PRs that would improve the API or stability of the library.
Safety
Right now, this library is quite unsafe.
Copyright / license
Copyright Ibiyemi Abiodun. MIT License.