google-search 0.1.1

Open default browser to Google search results for a given query string.
Documentation
  • Coverage
  • 25%
    1 out of 4 items documented0 out of 2 items with examples
  • Size
  • Source code size: 25.27 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.56 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 36s Average build duration of successful builds.
  • all releases: 38s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • luzhihaoTestingLab

google-search

Open default browser to Google search results for a given query string.

Usage

Add to your Cargo.toml:

[dependencies]
google-search = "0.1"

Example:

use google_search::search;

fn main() -> Result<(), String> {
    search("Trae AI IDE")?;
    Ok(())
}

Notes

  • This library opens your default web browser to https://www.google.com/search?q=....
  • Requires a desktop environment and a default browser configured.

License

MIT