This project is deprecated in favor of nrc's
rustfmt available here:
rustfmt -- code formatting Rust
rustfmt is distributed under the terms of the "MIT License." See
LICENSE.txt in the root of this repository for more information.
With a recent build of
Failing a cargo install, the project can be built with:
This will give you a
main binary that behaves as detailed below.
- Reads from
- Lexes the string to ensure correctness
- Prints the lexed code to
stdoutin an idiomatically arranged format
rustfmt does not:
- Preserve comments
- Lots of other stuff