From 2aa4a82499d4becd2284cdb482213d541b8804dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:29:10 +0200 Subject: Adding upstream version 86.0.1. Signed-off-by: Daniel Baumann --- third_party/rust/petgraph/src/prelude.rs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 third_party/rust/petgraph/src/prelude.rs (limited to 'third_party/rust/petgraph/src/prelude.rs') diff --git a/third_party/rust/petgraph/src/prelude.rs b/third_party/rust/petgraph/src/prelude.rs new file mode 100644 index 0000000000..f50b338b2e --- /dev/null +++ b/third_party/rust/petgraph/src/prelude.rs @@ -0,0 +1,21 @@ +//! Commonly used items. +//! +//! ``` +//! use petgraph::prelude::*; +//! ``` + +#[doc(no_inline)] +pub use crate::graph::{DiGraph, EdgeIndex, Graph, NodeIndex, UnGraph}; +#[cfg(feature = "graphmap")] +#[doc(no_inline)] +pub use crate::graphmap::{DiGraphMap, GraphMap, UnGraphMap}; +#[doc(no_inline)] +#[cfg(feature = "stable_graph")] +pub use crate::stable_graph::{StableDiGraph, StableGraph, StableUnGraph}; +#[doc(no_inline)] +pub use crate::visit::{Bfs, Dfs, DfsPostOrder}; +#[doc(no_inline)] +pub use crate::{Directed, Direction, Incoming, Outgoing, Undirected}; + +#[doc(no_inline)] +pub use crate::visit::EdgeRef; -- cgit v1.2.3