Skip to content

Releases: dtolnay/cargo-expand

0.4.12

28 Apr 08:53
0.4.12
dd63393
Compare
Choose a tag to compare
  • Color the output of cargo expand --verbose to match the coloring performed by Cargo

0.4.11

20 Apr 00:49
0.4.11
e0587d9
Compare
Choose a tag to compare
  • Implement the -p argument supported by other Cargo commands (#59)

0.4.10

01 Apr 09:05
0.4.10
bcbd1ae
Compare
Choose a tag to compare

0.4.9

13 Feb 18:53
0.4.9
6989b98
Compare
Choose a tag to compare
  • Configurable syntax highlighting theme. We read the [expand] section of $CARGO_HOME/config if there is one:

    [expand]
    theme = "TwoDark"

    Run cargo expand --themes to print a list of available themes. Use theme = "none" to disable coloring.

0.4.8

13 Feb 18:51
0.4.8
d7046be
Compare
Choose a tag to compare
  • More robust support for expanding individual items by path (#47)

0.4.7

09 Feb 19:08
0.4.7
fa4ad4a
Compare
Choose a tag to compare
  • Support --lib --tests to build lib in test mode (#48)

0.4.6

09 Feb 19:09
0.4.6
798db32
Compare
Choose a tag to compare
Release 0.4.6

0.4.5

21 Jan 23:08
0.4.5
7c9fa78
Compare
Choose a tag to compare
  • Add a --tests flag to include #[test] functions when expanding lib.rs or main.rs

0.4.4

21 Jan 23:07
0.4.4
4806c33
Compare
Choose a tag to compare
  • Update error message suggesting to install rustfmt

0.4.3

21 Jan 23:06
0.4.3
27b0ebb
Compare
Choose a tag to compare
  • Leave an empty line on stderr between compiler output and expanded code