cargo-to-dep-graph
A small library that converts Cargo files (a cargo.toml
and its respective
cargo.lock
) into a
dependency graph
Getting started
npm i cargo-to-dep-graph
import { cargoToDepGraph } from 'cargo-to-dep-graph';
const depGraph = await cargoToDepGraph(
'cargo.toml file contents',
'cargo.lock file contents',
);