| Crates.io | yes-rs |
| lib.rs | yes-rs |
| version | 0.2.0 |
| created_at | 2025-05-25 16:48:46.256351+00 |
| updated_at | 2025-05-26 15:50:26.543814+00 |
| description | 🚀 A blazingly fast, memory-safe rewrite of the classic Unix 'yes' command. Written in Rust! 🦀 |
| homepage | |
| repository | https://github.com/rust-evangelists/yes-rs |
| max_upload_size | |
| id | 1688517 |
| size | 91,543 |
A blazingly fast, memory-safe rewrite of the classic Unix
yescommand
yes in Rust? 🤔Because the original yes command (written in shudders C) is:
cargo install yes-rs
Or build from source:
git clone https://github.com/rust-evangelists/yes-rs
cd yes-rs
cargo build --release
Just like the original yes, but better:
# Output "y" forever (blazingly fast!)
yes-rs
# Output custom string forever (memory-safe!)
yes-rs "hello rust"
| Command | Language | Lines of Code | Memory Safety | Speed |
|---|---|---|---|---|
yes (GNU) |
C | ~50 | ❌ | Fast |
yes-rs |
Rust 🦀 | ~1294 | ✅ | BLAZING FAST |
Benchmarks conducted on my laptop
We welcome contributions! Please ensure all code is:
⚡ Powered by Rust ⚡