Crates.io | deps-readme |
lib.rs | deps-readme |
version | 0.1.0 |
source | src |
created_at | 2023-03-25 18:49:56.475827 |
updated_at | 2023-03-25 18:49:56.475827 |
description | A tool to generate a README.md file with the dependencies of a Rust project |
homepage | https://github.com/Yoliani/cargo-deps-readme |
repository | https://github.com/Yoliani/cargo-deps-readme |
max_upload_size | |
id | 820453 |
size | 39,733 |
cargo-deps-readme
is a Rust crate that simplifies the process of creating a README.md file containing a list of a crate's dependencies. This crate can be used to quickly generate a formatted and organized list of dependencies specified in a Cargo.toml file.
Add cargo-deps-readme to the [dev-dependencies] section of your crate's Cargo.toml file by adding the following line:
[dev-dependencies]
cargo-deps-readme = "0.1.0"
Run the following command to generate the README.md file:
cargo deps-readme
This will create a new DEPENDECIES.md file with a list of all the dependencies specified in your Cargo.toml file.
The output will be a formatted list of dependencies in the following format:
- [crate-name](https://crates.io/crates/crate-name) - version: 0.1.0 - description: This crate does something useful
- [other-crate](https://crates.io/crates/other-crate) - version: 0.2.3 - description: Another useful crate
This crate is useful for crate authors who want to provide an easily accessible list of dependencies for users and contributors to their project. It can also be used by developers who want to quickly understand the dependencies of a crate they are using or contributing to.