Boilerplate to write plugins in Rust 🦀

Might be better for share. But if you are a rust developer now you have a starter project to let you write Obsidian plugins in Rust using wasm-pack/rollup!

Motivation

After one too many hours fighting with node_modules and rollup I had the thought what if I only kept a small javascript shell and wrote all my code in Rust. Well, it works with some small hacks to embed the wasm module as a big base64 string generated js.

8 Likes