7 - Add `ignore` configuration option.
8 - Add `license_template_path` configuration option.
9 - Format `lazy_static!`.
13 - Fix formatting bugs.
14 - Support `dyn trait` syntax.
15 - Support multiple patterns in `if let` and `while let`.
16 - Support a pattern with parentheses.
22 - Do not print verbose outputs when formatting with stdin.
23 - Preserve trailing whitespaces in doc comments.
24 - Scale the values of width heuristics by `max_width`.
28 - Do not reorder items with `#[macro_use]`.
29 - Fix formatting bugs.
30 - Support the beginning `|` on a match arm.
36 - Format (or at least try to format) `macro_rules!`.
42 - Add `use_field_init_shorthand` config option.
43 - Add `reorder_modules` configuration option.
49 - Fix panicking on formatting certain macros (#2371).
55 - Format code block in comments when `wrap_comments` is set to `true`.
56 - Remove `same_line_attributes` configuration option.
57 - Rename `git-fmt` to `git-rustfmt`.
61 - Rustup to `rustc 1.25.0-nightly (e6072a7b3 2018-01-13)`.
62 - Fix formatting bugs.
68 - Add `--version` flag to `cargo-fmt`, allow `cargo fmt --version`.
72 - Rustup to `rustc 1.24.0-nightly (5165ee9e2 2017-12-22)`.
78 - Format trait aliases.
82 - `cargo fmt` will format every workspace member.
86 - Rustup to `rustc 1.24.0-nightly (250b49205 2017-12-21)`
87 - Fix formatting bugs.
93 - Warn when unkown configuration option is used.
97 - Rustup to `rustc 1.24.0-nightly (0077d128d 2017-12-14)`.
103 - Add `error_on_unformatted` configuration option.
104 - Add `--error-on-unformatted` command line option.
108 - Do not report formatting errors on comments or strings by default.
109 - Rename `error_on_line_overflow_comments` to `error_on_unformatted`.
113 - Fix formatting bugs.
114 - Fix adding a trailing whitespace inside code block when `wrap_comments = true`.
116 ## [0.3.0] 2017-12-11
120 - Support nested imports.
124 - Do not report errors on skipped items.
125 - Do not format code block inside comments when `wrap_comments = true`.
126 - Keep vertical spaces between items within range.
127 - Format `format!` and its variants using compressed style.
128 - Format `write!` and its variants using compressed style.
129 - Format **simple** array using compressed style.
133 - Fix `rustfmt --package package_name` not working properly.
134 - Fix formatting bugs.
136 ## [0.2.17] 2017-12-03
140 - Add `blank_lines_lower_bound` and `blank_lines_upper_bound` configuration options.
144 - Combine configuration options related to width heuristic into `width_heuristic`.
145 - If the match arm's body is `if` expression, force to use block.
149 - Fix `cargo fmt --all` being trapped in an infinite loop.
150 - Fix many formatting bugs.
154 - Remove legacy configuration options.
156 ## [0.2.16] 2017-11-21
160 - Remove empty lines at the beginning of the file.
161 - Soft wrapping on doc comments.
165 - Break before `|` when using multiple lines for match arm patterns.
166 - Combine `control_style`, `where_style` and `*_indent` config options into `indent_style`.
167 - Combine `item_brace_style` and `fn_brace_style` config options into `brace_style`.
168 - Combine config options related spacing around colons into `space_before_colon` and `space_after_colon`.
174 ## [0.2.15] 2017-11-08
179 - `where_single_line` configuration option.
183 - Rename `chain_one_line_max` to `chain_width`.
184 - Change the suffix of indent-related configuration options to `_indent`.
186 ## [0.2.14] 2017-11-06
190 - Rustup to the latest nightly.
192 ## [0.2.13] 2017-10-30
196 - Rustup to the latest nightly.
198 ## [0.2.12] 2017-10-29
202 - Fix a bug that `cargo fmt` hangs forever.
204 ## [0.2.11] 2017-10-29
208 - Fix a bug that `cargo fmt` crashes.
210 ## [0.2.10] 2017-10-28
212 ## [0.2.9] 2017-10-16
214 ## [0.2.8] 2017-09-28
216 ## [0.2.7] 2017-09-21
220 - `binop_separator` configuration option (#1964).
224 - Use horizontal layout for function call with a single argument.
228 - Fix panicking when calling `cargo fmt --all` (#1963).
229 - Refactorings & faster rustfmt.
231 ## [0.2.6] 2017-09-14
235 - Fix a performance issue with nested block (#1940).
236 - Refactorings & faster rustfmt.
238 ## [0.2.5] 2017-08-31
242 - Format and preserve attributes on statements (#1933).
246 - Use getters to access `Span` fields (#1899).
248 ## [0.2.4] 2017-08-30
252 - Add support for `Yield` (#1928).
254 ## [0.2.3] 2017-08-30
258 - `multiline_closure_forces_block` configuration option (#1898).
259 - `multiline_match_arm_forces_block` configuration option (#1898).
260 - `merge_derives` configuration option (#1910).
261 - `struct_remove_empty_braces` configuration option (#1930).
262 - Various refactorings.
266 - Put single-lined block comments on the same line with list-like structure's item (#1923).
267 - Preserve blank line between doc comment and attribute (#1925).
268 - Put the opening and the closing braces of enum and struct on the same line, even when `item_brace_style = "AlwaysNextLine"` (#1930).
272 - Format attributes on `ast::ForeignItem` and take max width into account (#1916).
273 - Ignore empty lines when calculating the shortest indent width inside macro with braces (#1918).
274 - Handle tabs properly inside macro with braces (#1918).
275 - Fix a typo in `compute_budgets_for_args()` (#1924).
276 - Recover comment between keyword (`impl` and `trait`) and `{` which used to get removed (#1925).