RyanParsleyDotCom

Feb 19, 2026

I really should make more of a point to use this rust scripting feature.

#! /usr/bin/env -S cargo +nightly -Zscript -q
---cargo
package.edition = "2024"
[dependencies]
rand = "0.9"
---

use rand::Rng;
fn main() {
    let mut rng = rand::rng();
    println!("Hello, world! {}", rng.random::<u32>());
}

Also on:

Continue the converstion elsewhere

Let's chat more on the platform of your choice.

Published by Feb 19, 2026