♻️ 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

25
playground/rust/.gitignore vendored Normal file
View file

@ -0,0 +1,25 @@
# Generated by Cargo
# will have compiled files and executables
/target/
# Remove Cargo.lock from gitignore if creating libraries
Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk
# IntelliJ project files
.idea/
*.iml
# VS Code settings
.vscode/
# Byebug
.byebug_history
# MacOS files
.DS_Store
# Node modules (if using node for frontend)
node_modules/