Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frewsxcv/crate-deps
A web service that generates images of dependency graphs for crates hosted on crates.io
https://github.com/frewsxcv/crate-deps
Last synced: 3 months ago
JSON representation
A web service that generates images of dependency graphs for crates hosted on crates.io
- Host: GitHub
- URL: https://github.com/frewsxcv/crate-deps
- Owner: frewsxcv
- License: apache-2.0
- Archived: true
- Created: 2015-05-28T04:11:26.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-06T21:17:29.000Z (almost 7 years ago)
- Last Synced: 2024-01-22T01:27:21.911Z (5 months ago)
- Language: Rust
- Homepage:
- Size: 37.1 KB
- Stars: 20
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-rust-zh - frewsxcv/crate-deps - 为 crates.io 上托管的箱子,生成依赖图的图像 (开发工具 / Web 服务器)
- awesome-rust - frewsxcv/crate-deps
- awesome-rust - frewsxcv/crate-deps
- awesome-rust - frewsxcv/crate-deps
- awesome-rust-cn - frewsxcv/crate-deps
- awesome-rust - frewsxcv/crate-deps
- awesome-rust - frewsxcv/crate-deps
- awesome-rust - frewsxcv/crate-deps
README
# crate-deps
A web service that generates images of dependency graphs for crates hosted on crates.io
This project is built entirely in Rust using these libraries:
* [tiny-http](https://github.com/frewsxcv/tiny-http)
* [rust-crates-index](https://github.com/frewsxcv/rust-crates-index)## Usage
To use, make sure your crate:
* has at least one dependency
* is uploaded to crates.ioThen, to generate an image, just go to:
`https://crate-deps.herokuapp.com/`
## Examples
### [tiny_http](https://crates.io/crates/tiny_http)
[crate-deps.herokuapp.com/tiny_http](https://crate-deps.herokuapp.com/tiny_http)
![](https://crate-deps.herokuapp.com/tiny_http)
### [glutin](https://crates.io/crates/glutin)
[crate-deps.herokuapp.com/glutin](https://crate-deps.herokuapp.com/glutin)
![](https://crate-deps.herokuapp.com/glutin)
### [geojson](https://crates.io/crates/geojson)
[crate-deps.herokuapp.com/geojson](https://crate-deps.herokuapp.com/geojson)
![](https://crate-deps.herokuapp.com/geojson)
### [hyper](https://crates.io/crates/hyper)
[crate-deps.herokuapp.com/hyper](https://crate-deps.herokuapp.com/hyper)
![](https://crate-deps.herokuapp.com/hyper)
### [piston](https://crates.io/crates/piston)
[crate-deps.herokuapp.com/piston](https://crate-deps.herokuapp.com/piston)
![](https://crate-deps.herokuapp.com/piston)
## Setup
To run the server locally:
```
cargo run
```To deploy to Heroku, make sure to set the buildpack as follows:
```
heroku buildpacks:set https://github.com/ddollar/heroku-buildpack-multi.git
```## License
All files found in this repository are licensed under version 2 of the Apache license.
All images generated using crate-deps.herokuapp.com are licensed under [CC0](https://creativecommons.org/publicdomain/zero/1.0/)