https://github.com/jlyonsmith/whitespace-rs
https://github.com/jlyonsmith/whitespace-rs
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jlyonsmith/whitespace-rs
- Owner: jlyonsmith
- License: unlicense
- Created: 2021-07-30T06:05:24.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-08-03T00:01:59.000Z (11 months ago)
- Last Synced: 2026-03-15T11:09:09.437Z (3 months ago)
- Language: Rust
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Whitespace Tools (Rust Edition)
[](https://github.com/jlyonsmith/whitespace-rs/blob/main/coverage.json)
[](https://crates.io/crates/whitespace-rs)
[](https://docs.rs/whitespace-rs)
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. See `ender --help` for details.
- `spacer` - reports on and optionally normalizes whitespace at the beginning of lines. See `spacer --help` for details.
## License
Whitespace Tools is distributed under the terms of the [Unlicense](http://unlicense.org/) license. See the file [`UNLICENSE`](UNLICENSE) for details.