| Crates.io | google-search |
| lib.rs | google-search |
| version | 0.1.1 |
| created_at | 2025-10-17 15:36:29.444633+00 |
| updated_at | 2025-10-17 15:47:24.738133+00 |
| description | Open default browser to Google search results for a given query string. |
| homepage | https://gitee.com/luzhihaoTestingLab/useful-cargo-packages |
| repository | https://gitee.com/luzhihaoTestingLab/useful-cargo-packages.git |
| max_upload_size | |
| id | 1887807 |
| size | 25,767 |
Open default browser to Google search results for a given query string.
Add to your Cargo.toml:
[dependencies]
google-search = "0.1"
Example:
use google_search::search;
fn main() -> Result<(), String> {
search("Trae AI IDE")?;
Ok(())
}
https://www.google.com/search?q=....MIT