| Crates.io | vibesearch |
| lib.rs | vibesearch |
| version | 0.1.0 |
| created_at | 2025-08-17 09:28:09.678975+00 |
| updated_at | 2025-08-17 09:28:09.678975+00 |
| description | vibesearch is a AI-powered modern iterator searching library written in Rust. |
| homepage | https://github.com/metwse/vibesearch |
| repository | https://github.com/metwse/vibesearch |
| max_upload_size | |
| id | 1799267 |
| size | 70,321 |
Why solve one of computer science's most fundamental problems with a boring,
efficient, and near-instant .iter().position()? That's so last century. 🙄
Cargo.toml:[dependencies]
vibesearch = "0.1"
tokio = { version = "1", features = ["full"] }
export OPENAI_API_KEY="sk-..."
use vibesearch::{VibeSearchClient, VibeSearch};
#[tokio::main]
async fn main() {
let client = VibeSearchClient::new_from_env();
let data = [5, 2, 8, 2, 9];
// Find the indices of '2'
let result = data.iter().vibe_find(&client, &2).await;
// Expected output: [1, 3]
println!("{:?}", result);
}
While the entire concept is fundamentally unreliable, at least you won't get a segmentation fault. You're welcome. 🦀 🔥