| Crates.io | permissive-search |
| lib.rs | permissive-search |
| version | 0.2.0 |
| created_at | 2025-04-15 20:59:46.320583+00 |
| updated_at | 2025-04-22 16:28:27.183009+00 |
| description | Implementing user-friendly search interfaces in Rust. no-std. Zero dependencies. |
| homepage | |
| repository | https://github.com/its-the-shrimp/permissive-search |
| max_upload_size | |
| id | 1635268 |
| size | 35,327 |
https://github.com/user-attachments/assets/000ffea6-db3d-4c85-b6cc-c75ee68a9e2a
This repo is more of an implementation of my collection of ideas on what a perfect search bar should be. I've come to get this project going after my extended frustration with the way search bars work on some websites, namely the translation website from a company whose name starts with a G.
The most important quality for a search bar is that it should be permissive. Namely, it must permit:
On the video above, I tried to select the Hungarian language by typing out its name in the English & in the Portuguese interfaces, the latter is included to showcase how bad search bars mishandle diacritics. As you can see, even 1 mistake is enough for the bad search bar to start completely misunderstanding.
It doesn't have to be like this.
This Rust library provides:
You can depend on this library in your Rust code, copy-paste functions from it, or use it as a guideline to make search bars in your project more permissive & accessible.