Giter Site home page Giter Site logo

rust-client's Introduction

Public Release Announcement

codecov

Polywrap Rust client

Polywrap is a developer tool that enables easy integration of Web3 protocols into any application. It makes it possible for applications on any platform, written in any language, to read and write data to Web3 protocols.

Working Features

This Polywrap clients enable the execution of WebAssembly Polywrappers (or just “wrappers”) on various environments, regardless of what language this wrapper was built in.

The various clients are built following the functionality of the JavaScript Polywrap Client, which is currently more robust and battle tested, as it has additional capabilities than other MVPs. In the future, the Polywrap DAO will continue improving the various client’s capabilities to reach feature parity with the JS stack, improving the experience in parallel clients for other languages like Python, Go, and Rust.

Here you can see which features have been implemented on each language, and make the decision of which one to use for your project.

Feature Python Javascript Go Rust
Invoke ⚙️
Subinvoke ⚙️
Interfaces
Env Configuration ⚙️
Client Config ⚙️ ⚙️
Plugin Wrapper
Wrap Manifest ⚙️
Uri Resolution ⚙️ ⚙️
Uri: Filesystem
Uri: IPFS
Uri: ENS

TODO: Update table above according to test harness and maybe mention other wip clients (go, rust)

status
fully working
⚙️ partially working
not yet implemented

Prerequisites

Rust

Proceed to installation by following these instructions.

In MacOS, execute:

brew install rustup

The installer will normally try to include Rust in your PATH variables. To make sure things are properlyu installed run:

rustc --version

your output in this case should be something like rustc 1.64.0 (a55dd71d5 2022-09-19). If the command can't be found, you might need to edit your PATH variables manually.

Clone the repository

git clone https://github.com/polywrap/rust-client.git

Installation and Build

Make sure your cwd is the root folder of the repository, and build the package:

cargo build

Test the client

Before running tests, cases need to be generated, go to packages/tests and run cargo run --bin generate

Now, by running this command in the root path, all written tests will be executed

cargo bench

rust-client's People

Contributors

namesty avatar cbrzn avatar rihp 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.