5 stable releases
2.1.2 | Sep 4, 2021 |
---|---|
2.1.0 | Aug 24, 2021 |
2.0.0 | Aug 24, 2021 |
1.0.1 | Aug 22, 2021 |
#1194 in Development tools
29KB
752 lines
Whitespace Tools (Rust Edition)
A Rust package and command line tools for fixing whitespace problems in text files.
- Reports on end-of-lines.
- Standardize end-of-lines to CR, LF or CRLF
- Report on beginnings-of-lines.
- Standarize beginnings-of-lines to spaces or tabs.
- Handles a mixture of different endings or beginnings
- Allows configuring the tab size on both input and output
Command Line
The command line tools ender
and spacer
are included in this crate using the cli
feature flag (installed by default.)
ender
- reports and optionally normalizes or changes line endings in text files. Seeender --help
for details.spacer
- reports on and optionally normalizes whitespace at the beginning of lines. Seespacer --help
for details.
License
Whitespace Tools is distributed under the terms of the Unlicense license. See the file UNLICENSE
for details.
Dependencies
~13–275KB