1.2.0 • Published 2 years ago

cargo-to-dep-graph v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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',
);