cargo-to-dep-graph
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i cargo-to-dep-graph

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

4.82 kB

Total Files

5

Last publish

Collaborators

  • robcresswell