cargo-modules
cargo-modules copied to clipboard
Feature request: Dependencies to JSON format
One way to support other visualisations is to export the directed graph to JSON. Then people can write code to convert that to something else.
Consider using an existing target schema like JGF.
New option:
--format 'dot' | 'json'. (default is 'dot')
Example:
dependencies -p rc-bot --no-externs --no-owns --no-types --no-traits --no-fns --format json