workspacer-topo

Crates.ioworkspacer-topo
lib.rsworkspacer-topo
version0.1.1
created_at2025-07-13 04:23:33.71037+00
updated_at2025-07-13 04:23:33.71037+00
descriptionAn advanced, async-capable topological sorting crate for managing Rust workspace dependencies.
homepage
repository
max_upload_size
id1749962
size299,121
(klebs6)

documentation

README

workspacer-topo

workspacer-topo is a Rust crate designed for those requiring advanced dependency management within a Rust workspace. It offers efficient and async-capable topological sorting functionalities, tailored for complex projects with multifaceted crate interdependencies. The crate supports various sorting paradigms including basic ordering, layered sorting, and focused ordering up to specific crates.

Features

  • BasicTopologicalSort: Retrieve an ordered vector of crate names satisfying topological constraints.
  • LayeredTopologicalSort: Obtain a layered representation of the crate order, distinguished by dependency depth.
  • FocusCrateTopologicalSort: Perform sorting to and from specific crates, allowing for targeted dependency analysis.
  • TopologicalSortInternalDeps: Sort dependencies internal to a single crate for refined control over build processes.

Configuration

The crate offers a TopologicalSortConfig struct enabling customization of sorting behavior, including reverse ordering and conditional filtering using user-defined functions.

Usage

Integrate workspacer-topo into your project's dependency graph management routines to harness its full potential for workspace analysis and optimization.


This README.md was generated by an AI model and may not be 100% accurate. However, it should provide a clear and useful guideline for using the workspacer-topo crate.

Commit count: 0

cargo fmt