xloc
- A fast, multi-threaded line counting utility. xloc hopes to speed up in places where other tools slow down.
- An easy to use API is available through
xloc::Appif you would like to count lines/words from within another Rust project. - Simple and intuitive command line interface.
Getting started from the command line
## Verify xloc is working.
## Get help.
## Count lines for all files in the current dir, with 1 job.
## Count words for all files in the current dir with nproc jobs.
## Count words for 1 file, with 1 job.
## Count lines for all files in the src dir, with 6 jobs.
Getting started in your own project
Check out our documentation on xloc::App below.