Skip to content

Commit 72cfdd9

Browse files
committed
Move topo_sorted_sccs to util crate
1 parent 7ced8c7 commit 72cfdd9

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

imctk/src/extract.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ use imctk_ir::{
77
node::NodeId,
88
var::{Lit, Var},
99
};
10-
use imctk_util::vec_sink::VecSink;
11-
12-
use crate::topo_sorted_sccs::TopoSortedSccs;
10+
use imctk_util::{topo_sorted_sccs::TopoSortedSccs, vec_sink::VecSink};
1311

1412
pub mod aiger;
1513

imctk/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@
33
#![warn(clippy::undocumented_unsafe_blocks)]
44
#![warn(missing_docs)]
55

6-
pub mod topo_sorted_sccs;
7-
86
pub mod extract;
97
pub mod import;

util/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
pub mod give_take;
88

99
pub mod partition_refinement;
10+
pub mod topo_sorted_sccs;
1011
pub mod unordered_pair;
1112
pub mod vec_sink;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Utilities for topological sorting and detecting strongly connected components.
2+
use crate::vec_sink::VecSink;
23
use imctk_ids::{id_vec::IdVec, Id};
3-
use imctk_util::vec_sink::VecSink;
44

55
struct DfsEntry<D: DfsIndexMap> {
66
node: D::Node,

0 commit comments

Comments
 (0)