436 Commits

Author SHA1 Message Date
David Tolnay
c01ceafc87
Update ui tests to nightly-2020-03-01 2020-02-29 20:47:26 -08:00
Jane Lusby
efb8a9ca82 Update docs to reflect changes in API 2020-02-28 16:42:49 -08:00
Jane Lusby
1550cafbd9 Rework context APIs 2020-02-28 15:37:59 -08:00
Jane Lusby
41c0283913 Update README.md 2020-02-28 10:17:19 -08:00
Jane Lusby
562babd954
Merge pull request #2 from yaahc/pass-ci
simplify ci requirements
2020-02-28 10:16:21 -08:00
Jane Lusby
fc662c5ae5 simplify ci requirements 2020-02-28 10:13:16 -08:00
Jane Lusby
9da3357ad1 Update README.md 2020-02-28 09:45:29 -08:00
Jane Lusby
3c14363706 Update README.md 2020-02-28 09:44:23 -08:00
Jane Lusby
dc23e937ee Update README.md 2020-02-28 09:43:14 -08:00
Jane Lusby
403f525435
Merge pull request #1 from yaahc/testing
Merge customization and test via PR
2020-02-28 09:40:04 -08:00
Jane Lusby
3b26dacea8 Update docs a little 2020-02-28 09:37:41 -08:00
Jane Lusby
82bf2a66e6 fix clippy warning 2020-02-28 08:59:55 -08:00
Jane Lusby
4781fcd78c fix nightly 2020-02-28 08:57:56 -08:00
Jane Lusby
11757c1da5 make an effort at no_std support 2020-02-28 08:54:39 -08:00
Jane Lusby
6c1a9af5b8 move fmting to trait and add github actions support 2020-02-28 08:21:08 -08:00
Jane Lusby
10570f5d72 Rename more of the API 2020-02-27 17:23:09 -08:00
Jane Lusby
04f6ed13d2 Rename context apis 2020-02-27 17:15:17 -08:00
Jane Lusby
74938f4ad8 Allow customization of error context 2020-02-27 15:50:57 -08:00
Jane Lusby
c476a98f77 Rename Context trait 2020-02-27 13:18:06 -08:00
Jane Lusby
86da223cde Rename core types 2020-02-27 13:04:19 -08:00
David Tolnay
bac602c301
Merge pull request #65 from kornelski/patch-1
Add crates-io category
2020-02-13 09:11:19 -08:00
Kornel
e12fe91fb6
Add crates-io category 2020-02-13 13:21:07 +00:00
David Tolnay
0018deb930
Update ui tests to nightly-2020-02-08 2020-02-07 16:57:41 -08:00
David Tolnay
5259d5233c
Update ui tests to nightly-2020-01-11 2020-01-20 16:31:38 -08:00
David Tolnay
b16893a21c
Opt in to experimental trybuild diffs 2019-12-25 17:41:54 -05:00
David Tolnay
a0e1af6809
Display a Travis badge on crates.io 2019-12-24 20:55:28 -05:00
David Tolnay
332913bcef
Release 1.0.26 2019-12-23 21:45:26 -05:00
David Tolnay
6def70f4ed
Rename ind field of Indented
`ind` was confusingly used for both the number of the whole indented
message and the index of the enumerated lines within one message. It is
also ambiguous between being short for "index" vs "indent" in the
context of an indented writer.
2019-12-23 21:43:27 -05:00
David Tolnay
dedb78c3ff
Simplify string writing in Indented 2019-12-23 21:43:26 -05:00
David Tolnay
88a72faee0
Remove trimming from Indented writer
Starting error messages with "\n    " so that rustc's default `main`
prints them on the next line after the "Error:" heading is not a pattern
I want to encourage.
2019-12-23 21:43:25 -05:00
David Tolnay
b0892e8e3f
Remove verbose Indented constructors 2019-12-23 21:43:24 -05:00
Jane Lusby
ba0f8c9928 Apply indent in causes on each new line (#54) 2019-12-23 21:43:01 -05:00
David Tolnay
6b8064aab2
Add basic trybuild test for error missing Display impl 2019-11-28 11:54:07 -08:00
David Tolnay
d9957be8c2
Update crates.io description metadata 2019-11-27 22:08:41 -08:00
David Tolnay
3cd0fcb2d1
Release 1.0.25 2019-11-27 22:04:45 -08:00
David Tolnay
55343b9d6c
Merge pull request #53 from dtolnay/nostd
Add no_std + alloc support
2019-11-27 22:02:57 -08:00
David Tolnay
10156ddb26
Require minimum rustc 1.36 to use alloc 2019-11-27 21:57:03 -08:00
David Tolnay
3f134b2f80
Test no-std support in CI 2019-11-27 21:55:25 -08:00
David Tolnay
9d944e6a2e
Document no-std support 2019-11-27 21:55:25 -08:00
David Tolnay
60c88bc53c
Expose reduced API in no_std mode 2019-11-27 21:23:37 -08:00
David Tolnay
bacf886a9c
Import from core where possible
In preparation for introducing no_std support!
2019-11-27 21:02:34 -08:00
David Tolnay
e48b330f95
Merge pull request #52 from dtolnay/quoted
Remove std dependency from context's Debug impl
2019-11-27 21:02:00 -08:00
David Tolnay
2e711d6afa
Remove std dependency from context's Debug impl
Replacing the std-only to_string() call in the previous implementation
is required for introducing no_std support.
2019-11-27 20:56:23 -08:00
David Tolnay
4f123aee8b
Remove need for allow(unused_imports) 2019-11-27 20:27:12 -08:00
David Tolnay
9060b6b754
No need to probe backtrace if std is disabled 2019-11-27 16:22:31 -08:00
David Tolnay
e7fd273754
Avoid unused import when building without backtrace 2019-11-27 16:07:45 -08:00
David Tolnay
d175627ab6
Release 1.0.24 2019-11-27 14:55:28 -08:00
David Tolnay
74fbea66c7
Merge pull request #50 from dtolnay/boxed
Conversion from Box<dyn StdError + Send + Sync> to Error
2019-11-27 14:54:47 -08:00
David Tolnay
1a7c075a7e
Merge pull request #49 from kolloch/patch-1
Rename the probe rust file to probe.rs
2019-11-27 14:52:18 -08:00
David Tolnay
9256781026
Conversion from Box<dyn StdError + Send + Sync> to Error 2019-11-27 14:49:42 -08:00