@zk-kit/rollup-plugin-rust
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Rust Rollup Plugin

Rollup plugin to create WASM/JS libraries from Rust crates.

Github license NPM version Downloads npm bundle size (scoped) Linter eslint Code style prettier


🛠 Install

npm or yarn

Install the @zk-kit/rollup-plugin-rust package with npm:

npm i @zk-kit/rollup-plugin-rust

or yarn:

yarn add @zk-kit/rollup-plugin-rust

📜 Usage

import rust from "@zk-kit/rollup-plugin-rust"

export default {
  input: "Cargo.toml",
  output: [
    {
      file: "dist/index.js",
      name: "myPackageName",
      format: "iife"
    }
  ],
  plugins: [rust()]
}

Readme

Keywords

none

Package Sidebar

Install

npm i @zk-kit/rollup-plugin-rust

Weekly Downloads

16

Version

0.1.0

License

MIT

Unpacked Size

31.9 kB

Total Files

11

Last publish

Collaborators

  • sripwoud
  • njofce
  • akinovak
  • cedoor