#show #who #info #author #projects #depend #thanking

app thank

显示您项目中使用的 crate 的信息,以便您知道谁应该为此表示感谢以及在哪里表示感谢。

7 个不稳定版本 (3 个破坏性更新)

0.4.0 2019年9月10日
0.3.0 2019年9月1日
0.2.0 2019年2月8日
0.1.3 2019年1月29日

#624 in Cargo 插件

GPL-3.0-or-later

1MB
759

thank

找出每天使用的 crate 应感谢的人

这做什么?

显示您项目中依赖的每个 crate 的信息(有用的链接和作者详情)。

thank demo gif

安装

打开终端并输入

cargo install --force thank

--force 参数是为了确保如果您已经安装了 thank 二进制文件,则获取此二进制文件的最新版本。

帮助

USAGE:
    thank [FLAGS] [OPTIONS] <who>

FLAGS:
    -d, --descending    Sorts in descending order
    -h, --help          Prints help information
    -e, --no-emoji      Do no use emojis
        --show-stars    Show the number of stars for each crate that has a GitHub repo
    -S, --stars         Give stars to the repos of your dependencies
    -V, --version       Prints version information

OPTIONS:
    -f, --for <for>            What crate are you thankful for?
    -s, --sort-by <sort-by>    Sort crates by name or number of stars [default: name]  [possible values:
                               name, stars]

ARGS:
    <who>    Who do you want to thank? [possible values: you, yall, god]

为什么?

这个项目受到了众多“感谢”项目的启发。这是我写的第一个 Rust 程序(除了经典的 Hello World),所以做这个是一个学习经验。我一直认为通过实践是最好的学习方式。除了熟悉语言和工具之外,我希望这个项目成为另一个让 Rust 社区感觉像它那样棒和友好的工具。

依赖

~21–32MB
~555K SLoC