1 stable release
1.0.0 | Nov 3, 2021 |
---|---|
0.1.4 |
|
0.1.3 |
|
#295 in Database implementations
55KB
1.5K
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
- Without bounds and where predicates (e.g.,
- Custom types
- Without generic args (e.g.,
IpAddr
) - With generic args (e.g.,
Vec<T>
,Option<T>
)
- Without generic args (e.g.,
- 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
Dependencies
~19–56MB
~894K SLoC