• Stars
    star
    393
  • Rank 109,518 (Top 3 %)
  • Language
    Rust
  • License
    Apache License 2.0
  • Created over 3 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Rust API search engine

Roogle

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

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