whitespace-rs

Crates.iowhitespace-rs
lib.rswhitespace-rs
version2.1.2
sourcesrc
created_at2021-08-22 18:12:54.177847
updated_at2021-09-04 20:56:57.275322
descriptionTools for fixing whitespace problems in text and source code files
homepage
repositoryhttps://github.com/jlyonsmith/whitespace-rs
max_upload_size
id440788
size39,014
John Lyon-Smith (jlyonsmith)

documentation

README

Whitespace Tools (Rust Edition)

coverage Crates.io Docs.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 license. See the file UNLICENSE for details.

Commit count: 41

cargo fmt