cargo-modules icon indicating copy to clipboard operation
cargo-modules copied to clipboard

Feature request: Dependencies to JSON format

Open wduminy opened this issue 1 year ago • 0 comments

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

wduminy avatar Dec 02 '24 06:12 wduminy