♻️ Make playground parse README.md bulk-selectable and copyable using Rust for better performance and showcase

Rust was chosen for its speed, memory safety, and ability to handle large text efficiently.
This change improves UX by enabling bulk selection and copying of README content,
while also serving as a demonstration of Rust integration in the playground.
This commit is contained in:
yogithesymbian 2025-12-26 11:45:32 +08:00
parent 3c461b0923
commit 6406b47c9b
5 changed files with 1279 additions and 0 deletions

View file

@ -0,0 +1,13 @@
[package]
name = "md_badges_parser"
version = "0.1.0"
edition = "2024"
[lib]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2"
pulldown-cmark = "0.9"
serde = { version = "1.0", features = ["derive"] }
serde-wasm-bindgen = "0.6"