Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roogle-rs/roogle
A Rust API search engine
https://github.com/roogle-rs/roogle
rust search-engine types
Last synced: 14 days ago
JSON representation
A Rust API search engine
- Host: GitHub
- URL: https://github.com/roogle-rs/roogle
- Owner: roogle-rs
- License: apache-2.0
- Created: 2021-06-07T09:09:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-05T04:31:36.000Z (3 months ago)
- Last Synced: 2024-08-05T05:39:40.283Z (3 months ago)
- Topics: rust, search-engine, types
- Language: Rust
- Homepage: https://roogle.hkmatsumoto.com
- Size: 13.6 MB
- Stars: 393
- Watchers: 6
- Forks: 16
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Roogle
Roogle is a Rust API search engine, which allows you to search functions by names and type signatures.## Progress
### Available Queries
- [x] Function queries
- [x] Method queries### Available Types to Query
- [x] Primitive types
- [ ] Generic types
- [x] Without bounds and where predicates (e.g., ``)
- [ ] With bounds (e.g., ``)
- [ ] With where predicates
- [x] Custom types
- [x] Without generic args (e.g., `IpAddr`)
- [x] With generic args (e.g., `Vec`, `Option`)
- [ ] Other types## Example
```sh
$ cargo r --release
# Then, on another shell session, run:
$ curl -X GET \
-d "fn (Option>) -> Result, E>>" \
"localhost:8000/search?scope=set:libstd"
```## Example with Docker
```sh
$ docker-compose up
# Then, on another shell session, run:
$ curl -X GET \
-d "fn (Option>) -> Result, E>>" \
"localhost:8000/search?scope=set:libstd"
```## Query Syntax
- `fn f(type) -> type`
- `fn (type) -> type`
- `fn(type) -> type`
- `(type) -> type`## Related Project
- [cargo-roogle](https://github.com/roogle-rs/cargo-roogle)