Skip to main content

Crate cargo_detect_package

Crate cargo_detect_package 

Source
Expand description

A Cargo tool to detect the package that a file belongs to, passing the package name to a subcommand.

This crate provides the core logic for package detection, exposed via the run function. The binary entry point is in main.rs.

Structs§

Cli
A Cargo tool to detect the package that a file belongs to, passing the package name to a subcommand.
EarlyExit
A parse outcome that should terminate the program before execution.

Enums§

OutsidePackageAction
Action to take when a path is not within any package.