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
Nick Cameron
5c9a2b6c13
Update rustc-ap-syntax
2018-08-07 11:30:44 +12:00
Nick Cameron
da17b68959
0.99.1
2018-08-04 11:41:48 +12:00
Nick Cameron
3d7d04d3e2
0.99.0 (1.0 RC)
2018-08-03 20:42:00 +12:00
Nick Cameron
4be12fa5d6
Update rustc-ap-syntax
2018-08-01 10:39:45 +12:00
kennytm
1e55de10f2
Update rustc-ap-syntax to 209.0.0.
...
This should fix the breakage caused by rust-lang/rust#51587 .
2018-07-27 05:49:44 +08:00
Seiichi Uchida
0131110c97
Cargo update
...
Update `rustc-ap-*` to "206.0.0".
2018-07-25 00:22:27 +09:00
Nick Cameron
71d3d04270
factor out a Session
object
2018-07-23 15:37:34 +12:00
Seiichi Uchida
52f9f7bbe2
Cargo update
2018-07-20 16:05:18 +09:00
Seiichi Uchida
e110d95f53
0.8.3
2018-07-14 22:18:12 +09:00
Seiichi Uchida
12775ed978
Cargo update ( #2845 )
2018-07-14 22:16:23 +09:00
Seiichi Uchida
276a768eb2
Cargo update
...
Add `rustc-ap-syntax_pos` to dependencies.
2018-07-09 23:09:14 +09:00
Nick Cameron
5e5992517d
Update rustc-ap-syntax
2018-07-02 09:34:55 +12:00
Nick Cameron
f578e4f0c1
Update rustc-ap-syntax to 181
2018-07-02 08:45:09 +12:00
topecongiro
359c31d422
Cargo update
...
Update `rustc-ap-*` to 180.0.0.
2018-06-30 21:36:38 +09:00
topecongiro
eb1819d71e
Cargo update
2018-06-30 15:53:22 +09:00
Seiichi Uchida
dd3e1d751f
Cargo update
...
Update `rustc-ap-*` to 177.0.0.
2018-06-28 16:10:49 +09:00
topecongiro
ceda3679cc
Cargo update
...
Update rustc-ap-* to 174.0.0.
2018-06-25 13:58:00 +09:00
Seiichi Uchida
68a6e696f2
Cargo update
2018-06-13 20:36:55 +09:00
csmoe
08da30d72c
update rustc_ap_*-v156 ( #2772 )
2018-06-06 17:08:07 +09:00
Seiichi Uchida
22602045ab
Cargo update
2018-05-30 08:44:57 +09:00
Alex Butler
f390626778
Update rustc-ap-* -> 149 ( #2748 )
2018-05-30 08:22:49 +09:00
Alex Butler
5473c3fd92
Update rustc-ap-* -> 148
2018-05-28 23:41:08 +01:00
Nick Cameron
173ae0d7b9
0.8.2
2018-05-28 11:47:21 +12:00
Nick Cameron
d930617cbe
Make Range public
...
0.8.1
2018-05-28 11:30:58 +12:00
Nick Cameron
ee5fda8f25
0.8.0
2018-05-28 11:23:14 +12:00
Nick Cameron
50dfd064eb
Upgrade again
2018-05-28 11:08:38 +12:00
Nick Cameron
2c275a2f68
Upgrade rustc-ap-syntax
2018-05-28 10:57:13 +12:00
topecongiro
926d47db4d
Cargo update
2018-05-28 07:07:46 +09:00
Andreas Jonson
619bb0cd9a
update isatty to remove 3 dependencies
2018-05-23 22:09:25 +02:00
Seiichi Uchida
6c7c770c80
Cargo update
2018-05-23 06:04:32 +09:00
Nick Cameron
6541be3c6f
Replace use_colored_tty
with iatty crate
2018-05-21 15:32:27 +12:00
topecongiro
82e81d7ed1
Cargo update
2018-05-19 08:39:40 +09:00
Nick Cameron
634ca02fd8
0.7.0
2018-05-14 11:09:40 +12:00
Andreas Jonson
195395f166
Update regex, assert_cli, env_logger, rustc-ap-{rustc_target, syntax}
...
this update removes 15 dependencies
2018-05-12 18:58:27 +02:00
Nick Cameron
0cc4a8d848
Update rustc_ap_syntax
2018-05-06 09:57:26 +12:00
Nick Cameron
43af1ba77a
0.6.1
2018-05-02 09:49:47 +12:00
Ryan Leung
fb9a5add9b
add rustc_target to dependencies ( #2660 )
2018-04-28 16:08:58 +09:00
Tibo
efb8069cfc
Replace std::Error with failure for FormatDiff
2018-04-26 12:18:20 +10:00
Seiichi Uchida
ac8ae00625
Cargo update and clippy ( #2643 )
2018-04-25 07:21:23 +09:00
Nick Cameron
866900449a
Make some more stuff private
...
0.6
2018-04-20 22:10:48 +12:00
Nick Cameron
ca610d35b3
Refactor to make a sensible public API
...
0.5 - lots of breaking changes
cc #2639
2018-04-20 21:52:02 +12:00
David Barsky
f9532ba8d7
Implemented rough draft of check
write mode. ( #2539 )
...
* Add rough draft of `check` mode. Not unit tested.
* Added assert-cli; simple test case for `--write-mode=check`
* Lightly documented `check` WriteMode
* wrote clearer phrasing for config::options::WriteMode::Check
* Implemented default for WriteMode where default is Overwrite
* Simplified exit code handling
* updated README.md as per @nrc' comment
* collapsed exit-code handling
* Removed write_mode from Summary, introduced partial option parsing earlier
* Handle write-mode parsing in a slightly better way.
2018-04-20 11:14:11 +12:00
Nick Cameron
dd807e2465
Update rustc_ap_syntax
2018-04-18 08:19:57 +12:00
csmoe
cef31b2841
update rustc-ap-syntax ( #2622 )
...
* update rustc-ap-syntax-100.0.0
2018-04-15 18:49:47 +09:00
Nick Cameron
aa7fc4cdc5
Update rustc-ap-syntax
2018-04-14 09:47:13 +12:00
Nick Cameron
84598bd990
Update rustc_ap_syntax
2018-04-13 10:34:23 +12:00
Nick Cameron
febbb36937
nightly-0.4.2
2018-04-12 17:06:30 +12:00
Seiichi Uchida
0a2f01483b
Cargo update
2018-04-12 12:48:27 +09:00
csmoe
84d3659767
update rustc syntax 91.0.0
2018-04-08 22:22:11 +08:00
Seiichi Uchida
edcc7b69eb
Cargo update ( #2602 )
...
Update `rustc-ap-syntax` to 89.0.0 and fix up breaking changes.
2018-04-06 23:09:45 +09:00
Seiichi Uchida
73e7235317
Cargo update ( #2575 )
...
Update `rustc-ap-syntax` to 82.0.0.
2018-03-30 17:52:09 +09:00
topecongiro
32ab7f4967
Cargo update
...
Update rustc-ap-syntax to 73.0.0.
2018-03-22 15:53:08 +09:00
topecongiro
87180d9065
0.4.1
2018-03-16 08:58:25 +09:00
topecongiro
a03b3b7d6f
Cargo update
...
Remove `rustc-ap-rustc_errors` from dependencies since it
is re-exported from `rustc-ap-syntax`.
2018-03-16 08:52:36 +09:00
Seiichi Uchida
a353294fe4
Cargo update
...
Update `rustc-ap-syntax` to `67.0.0`.
2018-03-15 18:55:31 +09:00
Nick Cameron
bcaeab7a5e
Merge pull request #2527 from topecongiro/issue-2526
...
Check whether '\\'' is char literal or lifetime
2018-03-12 11:25:40 +13:00
Seiichi Uchida
86a427fe32
Check whether '\\'' is char literal or lifetime
2018-03-10 01:19:38 +09:00
Bastien Orivel
a1dd6bd930
Dedupe syn/quote
2018-03-09 16:12:22 +01:00
Seiichi Uchida
a6b574bfa7
Cargo update and cargo clippy
2018-03-08 18:10:23 +09:00
Seiichi Uchida
64d838490a
Cargo update
...
Bump `rustc-ap-syntax` and `rustc-ap-rustc_errors` to `57.0.0`.
2018-03-06 19:45:17 +09:00
Bastien Orivel
64f6372f32
Bump winapi to 0.3
2018-03-02 15:20:26 +01:00
Bastien Orivel
5f4eb0f17e
Bump log to 0.4 and env_logger to 0.5
2018-03-02 13:08:23 +01:00
Nick Cameron
39301ae5f2
Go back to a non-workspace structure
...
Kinda reverts https://github.com/rust-lang-nursery/rustfmt/pull/2419
2018-03-02 14:58:23 +13:00
Nick Cameron
6154f2b3e5
Fix build
2018-03-02 14:25:26 +13:00
Nick Cameron
ab7b4a8bf5
Revert "Remove rustfmt and cargo-fmt"
...
This reverts commit 9d2229f2fd
.
And `cargo updates`
2018-03-02 14:12:33 +13:00
Alex Crichton
2ed8baf934
Update env_logger to 0.5
...
Helps unify with some dependencies in rust-lang/rust!
2018-03-01 10:31:57 -08:00
Nick Cameron
9d2229f2fd
Remove rustfmt and cargo-fmt
...
Moved them to the rustfmt-bin repo
2018-02-26 16:53:31 +13:00
topecongiro
5bd456dc3e
Cargo update
2018-02-07 22:51:14 +09:00
Nick Cameron
30a28a262c
Make is_mod_decl
more accommodating
...
Fixes #2403 (I think)
2018-02-02 15:16:29 +13:00
Nick Cameron
7c3a422742
Update libsyntax crates
2018-02-02 14:18:30 +13:00
Nick Cameron
2a71bef0b0
0.3.7
2018-02-01 19:25:48 +13:00
Seiichi Uchida
5977f516b1
Cargo update
2018-01-29 21:43:44 +09:00
Seiichi Uchida
e0e3e22248
0.3.6
2018-01-18 18:56:46 +09:00
Seiichi Uchida
fa782303a6
0.3.5
2018-01-15 21:34:41 +09:00
Nick Cameron
3e29fe3330
Use published versions of libsyntax and librustc_errors
...
Rather than the versions shipping with the compiler. These are still unstable,
so nightly is still required, but we can control when we update so breakage should
happen less often.
2018-01-11 18:21:35 +13:00
David Alber
85ccb98469
Adding test to verify code block idempotency in Configurations.md
2018-01-04 00:01:18 -08:00
Marcus Klaas
656edbf0f0
Use std time
2017-12-27 16:34:09 +13:00
Marcus Klaas
dc356ffef7
Add rudimentary timing of parsing and formatting phases
2017-12-27 16:33:21 +13:00
Seiichi Uchida
6714a447d0
0.3.4
2017-12-23 12:25:42 +09:00
Nick Cameron
c537f2de11
0.3.3
2017-12-22 16:14:05 +13:00
topecongiro
c0701f5fa5
0.3.2
2017-12-15 10:39:33 +09:00
Seiichi Uchida
6ce082e3f1
0.3.1
2017-12-11 22:09:48 +09:00
Seiichi Uchida
414a995926
Replace StringBuffer with String
2017-12-11 09:19:00 +09:00
Nick Cameron
3f7a27b547
0.3.0
2017-12-11 09:35:30 +13:00
Nick Cameron
632ea1afdf
0.2.17
2017-12-03 13:39:20 +13:00
Seiichi Uchida
426ba1cdab
Cargo update
2017-11-28 17:35:52 +09:00
topecongiro
1b1122654f
Add cargo_metadata to dependency
2017-11-27 18:37:21 +09:00
Nick Cameron
d0f12b8ec8
Remove unused option take_source_hints
2017-11-24 13:08:02 +13:00
Nick Cameron
1952459278
0.2.16
2017-11-21 09:43:33 +13:00
Utkarsh Kukreti
02c024932c
Fix missing trailing newline in --write-mode=diff.
...
This was a bug in the `diff` crate which has been fixed in 0.1.11. This PR
simply bumps `diff` to that version.
Fixes #1753 .
$ xxd main.rs
00000000: 666e 206d 6169 6e28 2920 7b7d fn main() {}
$ cargo run --bin rustfmt -- main.rs --write-mode=diff
$ echo $?
0
$ git checkout issue-1753
Switched to branch 'issue-1753'
$ cargo run --bin rustfmt -- main.rs --write-mode=diff
Diff in /Users/utkarsh/dev/git/rustfmt/main.rs at line 1:
fn main() {}⏎
+⏎
$ echo $?
4
2017-11-17 08:50:00 +05:30
Nick Cameron
4d2ed86611
nightly-0.2.15
2017-11-08 08:07:31 +13:00
topecongiro
1cd26db8c4
Add derive-new to dependencies
2017-11-06 21:43:17 +09:00
topecongiro
51b03c3aaf
nightly-0.2.14
2017-11-06 00:55:10 +09:00
topecongiro
0509f337cb
Cargo update
2017-11-06 00:55:04 +09:00
Nick Cameron
c6d4351f1c
nightly-0.2.13
2017-10-30 07:42:45 +13:00
topecongiro
485ef93e49
nightly-0.2.12
2017-10-29 00:23:02 +09:00
topecongiro
ee490aea00
nightly-0.2.11
2017-10-28 18:53:39 +09:00
Nick Cameron
b22643a572
0.2.10 + cargo update
2017-10-28 18:45:56 +13:00
Nick Cameron
5233f9cde0
Add support for crate
shorthand for pub(crate)
2017-10-28 18:41:58 +13:00
Seiichi Uchida
40e6c26b8b
nightly-0.2.9
2017-10-16 12:24:18 +09:00
Seiichi Uchida
474c1935d6
Cargo update
2017-10-16 12:24:15 +09:00
topecongiro
45146e16ee
nightly-0.2.8
2017-09-28 18:11:23 +09:00
topecongiro
bfac2755d4
Cargo update
2017-09-28 18:11:18 +09:00
Nick Cameron
02d8067f14
nightly-0.2.7
2017-09-21 10:50:45 +12:00
topecongiro
ed2687f33b
Cargo update
2017-09-15 17:05:27 +09:00
Nick Cameron
7e309a4ad8
nightly-0.2.6
2017-09-14 16:06:36 +12:00
Nick Cameron
8122f0b083
nightly-0.2.5
...
And cargo update
2017-08-31 14:32:54 +12:00
Nick Cameron
e780532239
nightly-0.2.4
2017-08-30 13:56:08 +12:00
Nick Cameron
897b224b54
nightly-0.2.3
2017-08-30 12:26:27 +12:00
Seiichi Uchida
98f737c708
Cargo update
2017-08-28 23:39:56 +09:00
Nick Cameron
bc9c65a2ac
0.2.2
2017-08-22 13:09:13 +12:00
topecongiro
a763f3b75b
Cargo update
2017-08-11 17:54:54 +09:00
Nick Cameron
cb351440e9
cargo update
2017-07-25 15:57:56 +12:00
Nick Cameron
6984c05e69
Change the writemode to overwrite
2017-07-21 11:22:51 +12:00
Nick Cameron
ed90489871
cargo update
2017-07-10 16:18:41 +12:00
Nick Cameron
818ff7a602
nightly-0.1.8
2017-07-05 15:59:24 +12:00
Nick Cameron
f028cbe760
nightly-0.1.7
2017-06-23 17:03:47 +12:00
Nick Cameron
c9d53e13d7
nightly-0.1.6
2017-06-23 16:30:19 +12:00
Nick Cameron
fbc95385d3
nightly-0.1.5
2017-06-20 17:00:01 +12:00
Nick Cameron
cd6092ebf9
nightly-0.1.4
2017-06-19 13:22:42 +12:00
Nick Cameron
34fa428471
make file_lines::Range public
2017-06-19 12:58:29 +12:00
Nick Cameron
562d218ce9
Update README for running the nightly version
2017-06-16 12:00:43 +12:00
Nick Cameron
5f1bab26c4
Move to Libsyntax
2017-06-14 14:01:56 +12:00
Nick Cameron
1f512948a0
Reformat source code using new defaults
2017-06-13 14:41:49 +12:00
Nick Cameron
67e26970c3
v0.8.5 + cargo update
2017-06-12 15:44:56 +12:00
est31
727963afe4
Update syntex_syntax
...
Bases on commit to switch to libsyntax by @nrc
2017-06-06 07:31:47 +02:00
Nick Cameron
a7b8dcc60d
Simplify --version info
2017-05-25 16:39:44 +12:00
Nick Cameron
393ba27311
Remove dependency on Itertools
2017-05-25 16:23:07 +12:00
Nick Cameron
80f3b3c9c4
Remove multimap dep
2017-05-25 15:59:06 +12:00
Nick Cameron
219822ba3f
Bump version of strings.rs and cargo update
2017-05-18 07:59:09 +12:00
Nick Cameron
18070f4041
bump version (0.8.4) and cargo update
2017-05-10 10:43:34 +12:00
est31
78d4ef1992
Drop rustc-serialize, use serde, update toml dependency
2017-05-03 10:23:50 +02:00
Nick Cameron
89f6aa2996
cargo update
2017-05-03 18:02:48 +12:00
Sheng Hau
0653b8413e
Show exit codes' meanings with the rustfmt help message
2017-04-19 00:25:48 +08:00
Nick Cameron
fa732ede8b
v0.8.2
2017-04-06 21:22:29 +12:00
Nick Cameron
7377dfc38c
release v8.1
2017-03-28 13:19:59 +13:00