[experiment] Rust URL Healthcheck
- learn some rust.
- have fun.
- maybe make a tool for alerting when a site is down.
- download and install rust
- clone this repo or download archive
cp .env.sample .env
- follow the build/run/release compliation steps below as needed
cargo build
cargo run
note: run will also build as needed.
URL=http://example.com cargo run
should also work if you don't have an .env
file set.
cargo build --release
note: provides some optimizations; not meant for debugging
Pull requests welcome. Please follow the contribution guide.