2021-09-17 05:36:45 -07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
export LC_ALL=C
|
|
|
|
|
2022-02-09 03:48:43 -08:00
|
|
|
# default arguments are --no-transitive-deps
|
|
|
|
ARGS="${*:---no-transitive-deps}"
|
|
|
|
echo "Using args: $ARGS"
|
|
|
|
|
|
|
|
cargo deps $ARGS | dot \
|
2021-09-17 05:36:45 -07:00
|
|
|
-Earrowhead=vee \
|
|
|
|
-Gratio=0.45 \
|
|
|
|
-Gsize=50 \
|
|
|
|
-Nheight=0.8 \
|
|
|
|
-Nfillcolor=LavenderBlush \
|
|
|
|
-Nstyle=filled \
|
|
|
|
-Nfontsize=18 \
|
|
|
|
-Nmargin=0.05,0.05 \
|
|
|
|
-Tpng > rust-dependency-graph.png
|