Crates.io | bicycle-book-word-count |
lib.rs | bicycle-book-word-count |
version | 0.1.1 |
source | src |
created_at | 2022-04-21 17:25:37.9855 |
updated_at | 2022-04-21 17:35:52.377775 |
description | シンプルな文字、単語、行の出現頻度の計数機能を提供します |
homepage | |
repository | https://github.com/shinobu52/word-count |
max_upload_size | |
id | 571733 |
size | 8,261 |
10章の『パッケージを作る』の写経 https://github.com/ghmagazine/rustbook
bicycle-book-word-count
はシンプルな文字、単語、行の出現頻度の計数機能を提供します。
CLIからは単語数の出現頻度に使えます。
$ cargo run text.txt
{"bb": 1, "aa": 2, "cc": 1}