The template uses interruption to control built-in LED with built-in button press.
cargo generate https://github.com/knightpp/esp8266-rust-template cargo
Install xtensa lx106 gcc compiler and the following tools:
cargo install cargo-generate
cargo install ldproxy
cargo install espflash
cargo install cargo-espflash # Optional
pacman -Syu cargo-generate ldproxy espflash cargo-espflash
paru -Syu xtensa-lx106-elf-gcc-bin
cargo run