Settings

Theme

Rust goal: cargo script (like uv does for Python)

rust-lang.github.io

1 points by IdiotSavage 18 days ago · 1 comment

Reader

IdiotSavageOP 18 days ago

Already works with nightly:

https://doc.rust-lang.org/nightly/cargo/reference/unstable.h...

  #!/usr/bin/env -S cargo +nightly -Zscript
  ---cargo
  [package]
  edition = "2024"

  [profile.dev]
  opt-level = 3
  ---

  fn main() {
      println!("Hey, man!");
  }

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection