1 unstable release

0.1.0 Oct 4, 2024

#390 in Unix APIs

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–11MB
~125K SLoC