A CLI tool that fetches and prints the body of a web page asynchronously using tokio and reqwest.
Install Trunk (WASM web app bundler): cargo install trunk
Install wasm-bindgen: cargo install wasm-bindgen-cli
trunk serve --open
The command will:
Compile your Rust code to WebAssembly
Bundle it with your HTML/CSS
Start a development server
Open your browser to http://localhost:8080