#[expect(
clippy::disallowed_methods,
reason = "discovery runs cargo metadata and peeks Cargo.toml for path-linked edges"
)]
mod cargo;
#[expect(
clippy::disallowed_methods,
reason = "children run under a wall-clock deadline read from the environment"
)]
pub mod child;
#[expect(
clippy::disallowed_methods,
reason = "lists a child's descendants from /proc or ps so a deadline kill reaches them"
)]
mod descendants;
mod error;
#[expect(
clippy::disallowed_methods,
reason = "discovery path helpers canonicalize on the I/O boundary"
)]
mod paths;
#[expect(
clippy::disallowed_methods,
reason = "discovery runs pnpm list / root -w and reads package.json for edges"
)]
mod pnpm;
pub use cargo::{
cargo_members, discover_cargo, discover_cargo_under, running_toolchain,
workspace_from_cargo_metadata, CargoMember, Toolchain,
};
pub use error::DiscoverError;
pub use pnpm::{discover_pnpm, pnpm_version, workspace_from_pnpm_list};