docs.rs failed to build rust-wc-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
rust-wc-0.3.5
rwc
This is just a simple version of GNU/wc command clone, written in Rust.
For rust beginners, feel free to look this project for practice :)
(Using Clap-v4)
Features
What I had archived are as follows:
- Support for reading multiple files and calculating the count in parrllel
- Pretty tabled output
- Colorful progress bar for reading files (It is useful when reading large file)
- Completions for common shells (Look here for more information)
Note:
It is super faster and prettier than wc
command when reading a large of big files. (Thanks to rayon
)
To put it another word, it is slower when reading a small numbers of small files.
For the Chinese, you could view my blog about using clap-rs to write this project
Build
Manual
The path of command is rust-wc/target/release/rwc
, you could copy/move it to other place
or just cargo run --release -- <args>
Release
You could download the binary file published in release-site
Examples
- Count the files in the specified directory with all options enabled:
)
- Get help: