Giter VIP home page Giter VIP logo

yggdrasil's Introduction

Yggdrasil

world tree image

One SDK core connecting all the realms of Unleash.

Yggdrasil is a Rust project designed to create the core of the Unleash SDK domain logic in a single language (in this case Rust).

Building the Core

Easy enough - run cargo build from the root of the project. You'll need an up to date set of Rust tools to do this.

To run the client specs, you'll first need to clone them:

git clone --depth 5 --branch v4.2.2 https://github.com/Unleash/client-specification.git client-specification

Node

The Node core is a special case, this doesn't use FFI like the other SDKs, instead this compiles the core down to WASM.

Building

You'll need to build the core first, once that's compiled, from the root of the node-sdk project, run wasm-pack build. Once that's built, navigate to {root}/node-sdk/pkg and run npm link, which should make the node package available. Finally, from {root}/node-sdk/www run

npm link node-sdk
npm install
npm start

You can open a browser and head to http://localhost:8080 and inspect the console to see the Unleash engine evaluate a toggle.

Python

The Python core uses PyO3 for its bindings.

Building

Start by setting up and activating a virtual environment in the python-sdk folder:

python3 -m venv venv
source venv/bin/activate

Install maturin by executing pip install maturin in your shell. Then you can run maturin develop.

yggdrasil's People

Contributors

chriswk avatar sighphyre 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.