Commit graph

242 commits

Author SHA1 Message Date
Seiichi Uchida
2244f326e6
Cargo update (#3559)
Update `rustc-ap-*` crates to 486.0.0.
2019-06-03 23:57:02 +09:00
Ivan Veselov
ed073a9b7c Use structopt for command line arguments parsing in cargo-fmt 2019-05-21 16:36:53 +01:00
Andy Russell
ee6f686cc9
use derive feature over serde_derive crate 2019-05-09 13:22:44 -04:00
topecongiro
20bdb2fb9d Use config_type proc macro 2019-04-27 18:56:04 +09:00
topecongiro
ee02cdfb0b Add config_proc_macro 2019-04-27 18:55:13 +09:00
topecongiro
5274b49caa Release 1.2.2 2019-04-24 23:25:35 +09:00
topecongiro
b860feaffc Release 1.2.1 2019-04-18 07:26:52 +09:00
topecongiro
ebd9ef5c51 Cargo update 2019-04-18 07:26:22 +09:00
Ruben Schmidmeister
3dc625c661 Use annotate-snippets for emitting errors (#3507) 2019-04-17 05:33:36 -07:00
rChaser53
34bf13718a Allow specifying glob pattern to ignore config option (#3488) 2019-04-14 03:30:44 -07:00
topecongiro
09940a70d0 Release 1.2.0 2019-03-27 10:29:28 +09:00
topecongiro
b6dac248ec Release 1.1.1 2019-03-21 20:33:47 +09:00
topecongiro
1427e4c20b Release 1.1.0 2019-03-17 14:06:23 +09:00
Seiichi Uchida
ce5cccc32c
Update rustc-ap-* crates to 407.0.0 (#3447) 2019-03-14 22:50:53 +09:00
topecongiro
d6829d62dc 1.0.3 2019-02-14 11:27:55 +09:00
Seiichi Uchida
b58ba97780
Merge pull request #3401 from topecongiro/rustcap
Cargo update
2019-02-14 11:26:05 +09:00
topecongiro
9df1ed6ab4 Cargo update
Update `rustc-ap-*` crates to 373.0.0.
2019-02-14 11:08:05 +09:00
topecongiro
b700cde6b9 1.0.2 2019-02-14 10:54:22 +09:00
topecongiro
f4f9502ea7 Cargo update
- Update `rustc-ap-*` crates to 366.0.0
- Update the other crates to the latest stable
2019-02-06 23:06:15 +09:00
topecongiro
154ccf6a02 Do not force trailing comma when using mixed layout 2019-01-31 23:44:58 +09:00
Mara Bos
24daa174ca Look for a global rustfmt.toml.
If no rustfmt.toml is found in the usual way, the directory 'rustfmt' in
the user's config directory is checked.

 - $XDG_CONFIG_HOME/rustfmt/ (or $HOME/.config/rustfmt/), or
 - $HOME/Library/Preferences/rustfmt/ on Mac, or
 - %AppData%\rustfmt\ on Windows.
2019-01-27 13:22:25 +01:00
Matthias Krüger
d44ee75438 update dependencies
update itertools from 0.7 to 0.8
update env_logger from 0.5 to 0.6
update cargo_metadata from 0.6 to 0.7
update bytecount from 0.4 to 0.5
2019-01-27 00:58:46 +01:00
wada314
a01990c4d0 Use Unicode-standard char width to wrap comments or strings. (#3275) 2019-01-15 08:41:09 +09:00
Andreas Jonson
836562baf4 remove deprecated dependency assert_cli 2018-12-14 23:32:08 +01:00
Nick Cameron
be135599ef 1.0.1 2018-12-10 10:51:26 +13:00
kngwyu
fd27eabbb7 Update rustc-ap-syntax to 306.0 2018-12-08 14:39:52 +09:00
Seiichi Uchida
9e7cfdb897 Cargo update
Update bytecount to 0.4, and use its generic feature.

Closes #3216.
2018-11-27 18:27:57 +09:00
Nick Cameron
1cc61cfc2b 1.0.0 2018-11-19 16:45:11 +13:00
Nick Cameron
fa9fd5cd2e 0.99.9 2018-11-15 22:37:31 +13:00
Nick Cameron
f7ff0f8c89 Update rustc_ap_syntax 2018-11-15 21:44:30 +13:00
Seiichi Uchida
97fb3f8dc1 0.99.8 2018-11-14 20:26:18 +09:00
Seiichi Uchida
9534dfc062
Cargo update (#3186)
Update `rustc-ap-*` crates to 290.0.0.
2018-11-08 23:16:13 +09:00
Nick Cameron
e4652fb271 0.99.7 2018-11-08 09:24:46 +13:00
Otavio Salvador
38e7f249d2 Cargo.lock: update cargo_metadata to 0.6.1 release
The update is especially important as it adds support for the
`edition` field handling, when parsing `cargo` metadata.

Refs: #3104.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-23 02:33:30 -03:00
Nick Cameron
750b252613 Update rustc-ap-syntax 2018-10-18 15:44:31 +13:00
Alex Crichton
3d07646858 Add rustc-workspace-hack workaround like RLS/Cargo 2018-10-17 12:47:21 -07:00
Shotaro Yamada
e64a6d371b Cargo.lock 2018-10-15 23:59:24 +09:00
Otavio Salvador
e203057db0 utils: rewrite count_newlines using bytecount::count
This uses a optimized byte count and also makes use of SIMD
instructions to optimize the processing of the byte arrays.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-14 18:27:35 -03:00
Otavio Salvador
0abc02fbfa Update rustc-ap-* to 272.0.0
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-10 21:53:25 -03:00
Otavio Salvador
0f3cc703fd Bump rustc-ap-* to 270.0.0
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-08 14:42:54 -03:00
Otavio Salvador
0279b7d02c Replace isatty crate with atty
The `isatty` crate has been deprecated and a replacement has been
released for it called `atty`. It offers a nicer API and the code
change to adapt is trivial.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-08 14:39:16 -03:00
Seiichi Uchida
5a6822c326 Cargo update 2018-10-07 00:39:49 +09:00
Nick Cameron
90692a5917 Update rustc_ap_syntax 2018-09-26 08:55:15 +12:00
Seiichi Uchida
e06f16a0a5 Cargo update 2018-09-11 13:52:46 +09:00
topecongiro
1704e24956 Cargo update 2018-09-04 00:17:26 +09:00
Nick Cameron
1c408818c8 nightly-0.99.4 2018-08-27 11:19:18 +12:00
Zach Lute
ca19c9a35a Fix build with rust nightly by updating try block syntax. (#2965) 2018-08-26 13:02:24 +09:00
cad97
04d804c365 Rename CodeMap/FileMap to SourceMap/SourceFile
#2946
2018-08-23 17:10:46 -04:00
Nick Cameron
693c7d69f9 nightly-0.99.3 2018-08-23 15:34:45 +12:00
Seiichi Uchida
9d9f2b18e4 Cargo update
Update `rustc-ap-*` to 230.0.0.
2018-08-19 00:26:11 +09:00