#transformation #bidirectional #error #sdk #build #lens-vm

lens_sdk

An SDK for writing bi-directional, wasm based, LensVM transformations in Rust

2 unstable releases

0.6.0 Jun 4, 2024
0.5.0 Nov 27, 2023

#338 in WebAssembly

Download history 94/week @ 2024-07-29 89/week @ 2024-08-05 128/week @ 2024-08-12 150/week @ 2024-08-19 162/week @ 2024-08-26 76/week @ 2024-09-02 165/week @ 2024-09-09 276/week @ 2024-09-16 146/week @ 2024-09-23 101/week @ 2024-09-30 61/week @ 2024-10-07 113/week @ 2024-10-14 23/week @ 2024-10-21 10/week @ 2024-10-28 58/week @ 2024-11-04 43/week @ 2024-11-11

183 downloads per month

Custom license

16KB
208 lines

LensVM

Building

Once you have the listed prerequisites installed, you should be able to build everything in the repository and run all the tests by running make test from the repository root.

Prerequisites

The following tools need to be installed and added to your PATH before you can build the full contents of the repository:

  • rustup and Cargo/rustc, typically installed via rustup.
    • Please pay attention to any prerequisites, for example if on Ubuntu you may need to install the build-essential package
  • If connection errors are experienced when retrieving rust package dependencies from crates.io, you might need to tweak your .gitconfig as per this comment.
  • npm, typically installed via nvm
  • Go

lib.rs:

This crate contains members to aid in the construction of a Rust Lens Module.

Dependencies

~0.5–1.1MB
~22K SLoC