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

lens_sdk

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

1 unstable release

0.5.0 Nov 27, 2023

#294 in WebAssembly

Download history 1384/week @ 2024-01-10 1133/week @ 2024-01-17 531/week @ 2024-01-24 514/week @ 2024-01-31 1220/week @ 2024-02-07 697/week @ 2024-02-14 779/week @ 2024-02-21 1077/week @ 2024-02-28 918/week @ 2024-03-06 1343/week @ 2024-03-13 1086/week @ 2024-03-20 441/week @ 2024-03-27 975/week @ 2024-04-03 1268/week @ 2024-04-10 1109/week @ 2024-04-17 706/week @ 2024-04-24

4,240 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.4–0.9MB
~19K SLoC