Git Product home page Git Product logo

jsi-rs's Introduction

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

  1. Clone this repo
  2. Run git submodule init
  3. Run git submodule update, this will ensure that all the vendor dependencies are cloned locally
  4. 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
  5. Install dependencies for the example app: cd example && yarn install
  6. Run the example app on android with yarn android

NOTE: Make sure that you have not installed rust with homebrew on mac, use the rustup toolchain 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.

jsi-rs's People

Contributors

laptou avatar zacmarion-cb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.