Crates.io | thanks-dependencies |
lib.rs | thanks-dependencies |
version | 0.1.2 |
source | src |
created_at | 2023-01-29 13:16:37.931661 |
updated_at | 2023-01-30 02:27:55.377578 |
description | Generate a dependency list to thank them on README. |
homepage | |
repository | https://github.com/keiya01/thanks-dependencies |
max_upload_size | |
id | 770908 |
size | 61,458 |
This generates list of dependencies.
I think it's better to publish dependencies explicitly on documentation. Of course users can refer dependencies from Cargo.toml
, but almost users don't interest for what's library used.
So publishing dependencies explicitly forces users to look at these, and it can advertize these. Additionally it should be motivation for continuing maintenance.
To do this, we need to search dependencies and write information manually, but it's really stressful.
So this tool automate these task. And it generates Thanks for the following dependencies.
$ cargo install thanks-dependencies
Only run command as follows.
$ thanks-dependencies
It has the following options.
$ thanks-dependencies -h
Usage: thanks-dependencies [OPTIONS]
Options:
-r, --readme <README> Path for your README.md [default: ./README.md]
-c, --cargo <CARGO> Path for your Cargo.toml [default: ./Cargo.toml]
-t, --title <TITLE> Title for thanks list [default: "## Thanks for the following dependencies"]
--recursive Whether reading dependencies recursively
-h, --help Print help
Cargo.toml
struct definitions for parsing with Serde