Skip to content

roogle-rs/roogle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9b4627d · Aug 5, 2024
Oct 21, 2021
Aug 5, 2024
Nov 17, 2021
Nov 11, 2021
Nov 12, 2021
Oct 20, 2021
Oct 25, 2021
Nov 12, 2021
Nov 6, 2021
Oct 25, 2021
Jul 20, 2021
Jul 20, 2021
Aug 5, 2024
Oct 25, 2021

Repository files navigation

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"

Query Syntax

  • fn f(type) -> type
  • fn (type) -> type
  • fn(type) -> type
  • (type) -> type

Related Project