On Using Rust in Parcel and Vitest

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/rust

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
  • lightningcss

    An extremely fast CSS parser, transformer, bundler, and minifier written in Rust.

    You can do it - that's actually exactly what my project is doing. I have a single repository with a Rust project, that builds the .wasm file (+ .d.ts + .js) using wasm-pack, and a Node.js project, that uses this .wasm file. There's no problem in packing that and exposing as a npm package. See parcel-bundler/lightningcss for a full blown example (it's not using wasm-pack but builds the Rust project directly).

  • nblast-rs

    You can! In https://github.com/clbarnes/nblast-rs/tree/smat , I have a cargo workspace with a rust library, then a dependent maturin project depending on that library with pyo3 bindings and some pythonic sugar around it, and a dependent rust/wasm library which takes those flattened arrays. As a proof of concept, I put the nice js interface straight into the example app, but I'd prefer to ship it as part of the library.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts