1 unstable release

0.1.0 Oct 4, 2024

#342 in Unix APIs

Download history 146/week @ 2024-10-02 14/week @ 2024-10-09 1/week @ 2024-10-16

161 downloads per month

MIT/Apache

28KB
278 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
~127K SLoC