Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ByteSudoer/Dependust
A Rust tool to check for unused dependencies for your crate in your Cargo.toml
https://github.com/ByteSudoer/Dependust
Last synced: 3 months ago
JSON representation
A Rust tool to check for unused dependencies for your crate in your Cargo.toml
- Host: GitHub
- URL: https://github.com/ByteSudoer/Dependust
- Owner: ByteSudoer
- License: gpl-3.0
- Created: 2023-08-24T11:23:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-20T14:48:39.000Z (over 1 year ago)
- Last Synced: 2024-07-26T23:46:48.242Z (6 months ago)
- Language: Rust
- Size: 20.5 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - ByteSudoer/Dependust - A Rust tool to check for unused dependencies for your crate in your Cargo.toml (Rust)
README
# Dependust
A Rust tool to check for unused dependencies included in your crate by parsing your `Cargo.toml` and the source code in `./src`
## Depdendust in action
![2023-08-24_12-43](https://github.com/ByteSudoer/Dependust/assets/88513682/14ec550b-2433-4e3a-b65d-1f0b1cccff06)
## Installation
Clone the repositry and compile it
```bash
#Fetch The Source Code from github
git clone https://github.com/ByteSudoer/Dependust.git
# Compile the crate with cargo
cargo run --release
```## Usage
You can use the binary globally by running this command :
```bash
# Run this command inside the cloned repo
cargo install --path .
```To use under Nix/NixOS with direnv enabled you can run the shell:
```bash
#Create a .envrc file
echo "use flake" > .envrc
#And then activate the shell
direnv allow
```