Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arkaeriit/dependency_lister
A tool to read the dependency listed in `.d` files generated by clang or GCC.
https://github.com/arkaeriit/dependency_lister
Last synced: 16 days ago
JSON representation
A tool to read the dependency listed in `.d` files generated by clang or GCC.
- Host: GitHub
- URL: https://github.com/arkaeriit/dependency_lister
- Owner: Arkaeriit
- License: bsd-3-clause
- Created: 2024-12-06T17:26:16.000Z (19 days ago)
- Default Branch: master
- Last Pushed: 2024-12-06T17:26:27.000Z (19 days ago)
- Last Synced: 2024-12-06T17:53:37.392Z (19 days ago)
- Language: Rust
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dependency Lister
A tool to read the dependency listed in `.d` files generated by clang or gcc. It's available as a Rust library or as CLI tool you can use in shell scripts.
## CLI tool
The `dependency-lister` executable takes as argument a directory with `.d` files and output all the found dependencies. If there is an error, a non 0 exit code will be returned and an error message will be printed.
## Rust library
The rust library exposes a single function `get_all_dependencies_from_dir` which takes a directory's path as argument. It returns a hash set of all dependencies path in case of success or a custom error in case of failure.
The custom error can be handled or printed as-is to the user.