wordcrab 0.10.0

A command-line tool for counting lines, words and characters in documents.
Documentation

wordcrab

wordcrab is a command-line tool for counting lines, words and characters in documents.

It is intended as a cross-platform, modern replacement for wc.

Goals

  • MVP version that counts lines, words and characters
  • Publish on <crates.io>
  • Publish on homebrew
  • Publish on other platforms, which?
  • Write a blogpost about the process of making this; as a showcase of creating and publishing a tool
  • Optional JSON output format
  • Concurrency with rayon
  • Benchmark & write a blogpost about the process of benchmarking a simple tool
  • More options: -l, -w, -c similar to wc
  • Testing
    • Tiny initial tests
    • Lots of tests to ensure correctness of various functions
    • Test output formatting
    • Test tricky strings
    • Full code coverage
  • Soft error handling; do not panic if a single file fails to be read of a long list
  • Serialization error handling; currently panics. How to type main() and return errors?
  • Async-std port, when async/await lands in stable?
  • CI builds