1 unstable release

0.1.0 Oct 4, 2024

#383 in Unix APIs

50 downloads per month

MIT/Apache

28KB
298 lines

repo-root

Find the root directory of a project.

CLI

    cargo install repo-root

Library

  cargo add repo-root

Supported project types

  • git:.git dir
  • Docker: Dockerfile file
  • NodeJS: package.json file
  • Rust: Cargo.toml file
  • Python: pyproject.toml file
  • Nix: flake.nix file

Custom

See examples/custom_project_type.rs

Dependencies

~5–12MB
~127K SLoC