11 releases (3 stable)

1.0.2 Oct 23, 2021
1.0.1 Oct 21, 2021
0.1.7 Sep 4, 2021
0.1.5 Aug 25, 2021

#155 in Database implementations

44 downloads per month
Used in roogle

MIT/Apache

41KB
1K SLoC

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"

Dependencies

~1.8–2.9MB
~56K SLoC