An incomplete Rust pretty printer
MIT License
This project is deprecated in favor of nrc's rustfmt
available here:
https://github.com/rust-lang-nursery/rustfmt
rustfmt
-- code formatting Rustrustfmt
is distributed under the terms of the "MIT License." See LICENSE.txt
in the root of this repository for more information.
rustfmt
With a recent build of rustc
and cargo
installed:
cargo build
Failing a cargo install, the project can be built with:
make
or
rustc src/main.rs
This will give you a rustfmt
or main
binary that behaves as detailed below.
rustfmt
currently:
stdin
stdout
in an idiomatically arranged formatrustfmt
does not: