cargo-modules 0.12.0

A cargo plugin for showing a tree-like overview of a crate's modules.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

use petgraph::stable_graph::{NodeIndex, StableGraph};

pub(crate) mod builder;
pub(crate) mod command;
pub(super) mod cycles;
pub(crate) mod edge;
pub(super) mod filter;
pub(crate) mod node;
pub(crate) mod options;
pub(super) mod printer;
pub(crate) mod util;
pub(super) mod walker;

pub type Graph = StableGraph<node::Node, edge::Edge>;