/crate-deps

A web service that generates images of dependency graphs for crates hosted on crates.io

Primary LanguageRustApache License 2.0Apache-2.0

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:

Usage

To use, make sure your crate:

  • has at least one dependency
  • is uploaded to crates.io

Then, to generate an image, just go to:

https://crate-deps.herokuapp.com/<your crate name here>

Examples

crate-deps.herokuapp.com/tiny_http

crate-deps.herokuapp.com/glutin

crate-deps.herokuapp.com/geojson

crate-deps.herokuapp.com/hyper

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