roogle-rs/roogle

Roogle is a Rust API search engine, which allows you to search functions by names...

Roogle is a Rust API search engine, which allows you to search functions by names and type signatures

Roogle

.

Progress

Available Queries

  • Function queries
  • Method queries

Available Types to Query

  • Primitive types
  • Generic types
    • Without bounds and where predicates (e.g., <T>)
    • With bounds (e.g., <T: Copy>)
    • With where predicates
  • Custom types
    • Without generic args (e.g., IpAddr)
    • With generic args (e.g., Vec<T>, Option<T>)
  • Other types

Example

$ cargo r --release
# Then, on another shell session, run:
$ curl -X GET \
      -d "fn (Option<Result<T, E>>) -> Result<Option<T>, E>>" \
      "localhost:8000/search?scope=set:libstd"

Example with Docker

$ docker-compose up
# Then, on another shell session, run:
$ curl -X GET \
      -d "fn (Option<Result<T, E>>) -> Result<Option<T>, E>>" \
      "localhost:8000/search?scope=set:libstd"

Related Project

  • cargo-roogle
Issues

Collection of the latest Issues

gilescope

gilescope

C-feature-request
Comment Icon0

A rustc wrapper that when it detects error message "expects X but found Y", searches roogle to offer some likely suggestions. Doing this properly might not be possible but a bit of ducktape-heath-robinson-hacking might make something that's actually really useful.

gilescope

gilescope

C-feature-request
Comment Icon0

Would be cool to point this at a large workspace and have it index all the crates it finds there.

I did something similar for undepend. Something like this should do the trick:

gilescope

gilescope

A-error-handling
Comment Icon0

(Loving your work btw)

fn (PathBuf) -> String returns sensible results.

fn PathBuf -> String returns interesting results. I was just wondering if the prompt should be fn given that it has to be typed often and whether ( ) are needed for simple cases.

Information - Updated Jul 05, 2022

Stars: 230
Forks: 9
Issues: 6

Repositories & Extras

A Full-Text Search Engine in Rust

Toshi will always target stable Rust and will try our best to never make any use of unsafe Rust

A Full-Text Search Engine in Rust

Sonic-channel is a rust client for the sonic search backend

Quick and easy way to get started with search in rust

Sonic-channel is a rust client for the sonic search backend

txtai: AI-powered search engine for Rust

Overview of the functionality provided by txtai

txtai: AI-powered search engine for Rust

Roogle is a Rust API search engine, which allows you to search functions by names...

Roogle is a Rust API search engine, which allows you to search functions by names and type signatures

Roogle is a Rust API search engine, which allows you to search functions by names...

Non-official rust library to search Nyaa

si does not provide any APIs so I thought it would be cool to have a way to do so in Rust and that's why...

Non-official rust library to search Nyaa

SerpApi Search in Rust

This Rust package enables to scrape and parse search results from Google, Bing, Baidu, Yandex, Yahoo, Ebay, Apple, Youtube, Naver, Home depot and more

SerpApi Search in Rust

Elerons - ELectRONics Search with Rust

Elerons is a command line tool for electronic component selection and design optimization facilitated by engineering know-how infused into the software itself

Elerons - ELectRONics Search with Rust

Catalog searcher

A demo product catalog searcher written in Rust

Catalog searcher

A Tiny, Static, Full-text Search with Rust

Add the -r argument to traverse hierarchy recursively

A Tiny, Static, Full-text Search with Rust

A Tiny, Static, Full-text Search with Rust

Add the -r argument to traverse hierarchy recursively

A Tiny, Static, Full-text Search with Rust
Facebook Instagram Twitter GitHub Dribbble
Privacy