#graph #image #io #generate #web-services #hosted #service

app crate-deps

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

1 unstable release

Uses old Rust 2015

0.1.0 May 29, 2015

#10 in #hosted

Apache-2.0

7KB
92 lines

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

tiny_http

crate-deps.herokuapp.com/tiny_http

glutin

crate-deps.herokuapp.com/glutin

geojson

crate-deps.herokuapp.com/geojson

hyper

crate-deps.herokuapp.com/hyper

piston

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

Dependencies

~1.5–8.5MB
~86K SLoC