topologic 1.1.0

Topological sorting of Acyclic Dependency Graphs
Documentation
  • Coverage
  • 73.33%
    11 out of 15 items documented0 out of 12 items with examples
  • Size
  • Source code size: 15.44 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.87 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • oclyke/topologic
    2 0 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • oclyke

topologic

This module provides a structure for representing and manipulating acyclic dependency graphs. Usage is generally to build a graph of dependencies by adding direct dependency pairs and then querying the graph for properties such as:

  • total dependencies of a certain node
  • total dependents of a certain node
  • topological sorting of dependencies
  • topological sorting of dependents

Usage

Please see the unit tests in lib.rs for examples of usage.

Todo:

  • Change topographical sort to use flags instead of memory allocation to avoid cloning the graph.