1.2.0 • Published 2 years ago
cargo-to-dep-graph v1.2.0
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',
);