Skip to content

Commit 3e51301

Browse files
mtreinishIvanIsCodingmergify[bot]
authored
Add lexicographical_topological_sort function to rustworkx-core (#1197)
* Add lexicographical_topological_sort function to rustworkx-core This commit adds a rust generic implementation of the lexicographical topological sort function that was previously only exposed via the python interface to rustworkx-core. This new function is used internally by rustworkx and replaces the python specific implementation that used to be there. But it now exposes an interface to use it to rust. Fixes: #1165 * Simplify trait bounds * Use .lcov extension for coveralls --------- Co-authored-by: Ivan Carvalho <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 1df925d commit 3e51301

File tree

3 files changed

+403
-94
lines changed

3 files changed

+403
-94
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
features:
3+
- |
4+
Added a new function ``lexicographical_topological_sort`` to the
5+
``rustworkx_core::dag_algo`` module. That is a gneric Rust implementation
6+
for the core rust library that provides the
7+
:func:`.lexicographical_topological_sort` function to Rust users.

0 commit comments

Comments
 (0)