s-panferov / rust-wasm-string-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An example of a small text-heavy Rust application. Created to demonstrate how much time text decoding takes.

Strings are extracted from the https://tailwindui.com/components?ref=sidebar page with this script:

Array.from(document.body.querySelectorAll("*")).map(n => Array.from(n.attributes).map(a => a.nodeValue)).flat()

To run the example use Rust + Trunk

trunk serve --release
``

About


Languages

Language:Rust 100.0%Language:HTML 0.0%