Blazingly fast vibesort implementation in Rust using Llama 4 Maverick on Cerebras Cloud. 10x faster than the current vibesort. Check it out on crates.io!

cargo install vibesort
Export your Cerebras API key:
export CEREBRAS_API_KEY=your_api_key_here
use vibesort::vibesort;
#[tokio::main]
async fn main() {
let numbers = vec![42, 7, 13, 99, 1, 56];
println!("Original numbers: {:?}", numbers);
match vibesort(numbers.clone()).await {
Ok(sorted_array) => {
println!("Sorted numbers: {:?}", sorted_array);
},
Err(e) => println!("Error: {}", e),
}
}