Commit Graph

433 Commits

Author SHA1 Message Date
Kat Marchán fe3abdc64d
docs: add narratable printouts to README 2021-08-21 15:32:50 -07:00
Kat Marchán 5369a9424e
feat(printer): added (and hooked up) an accessible report printer
Fixes: https://github.com/zkat/miette/issues/28
2021-08-21 15:32:31 -07:00
Kat Marchán a65cfc7e05
0.12.0 2021-08-21 00:20:16 -07:00
Kat Marchán 9f941b4547
docs: update changelog 2021-08-21 00:18:02 -07:00
Kat Marchán b5c4118e59
misc: cargo fmt 2021-08-21 00:11:41 -07:00
Kat Marchán 5fd2765bf0
docs: update readme with new stuff 2021-08-21 00:11:40 -07:00
Kat Marchán 5fbcd53026
feat(printer): lots of small improvements to printer 2021-08-20 23:52:15 -07:00
Kat Marchán d675334e48
feat(reporter): fancy new reporter with unicode, colors, and multiline (#23)
Fixes: https://github.com/zkat/miette/issues/3
Fixes: https://github.com/zkat/miette/issues/5
2021-08-20 20:09:23 -07:00
Kat Marchán 8fbad1b1cd
feat(derive): format string support for help()
Fixes: https://github.com/zkat/miette/issues/7
2021-08-18 19:59:50 -07:00
Kat Marchán 3ed97050db
0.11.0 2021-08-18 00:09:33 -07:00
Kat Marchán bd311fd2e3
docs: update changelog 2021-08-18 00:08:21 -07:00
Kat Marchán d568aae090
meta: set up CI (#21)
* meta: set up CI

Fixes: https://github.com/zkat/miette/issues/2
2021-08-17 23:56:12 -07:00
Kat Marchán 29c1403efd
feat(reporter): Overhauled return type/main/DiagnosticReport experience.
Fixes: https://github.com/zkat/miette/issues/13
2021-08-17 23:41:03 -07:00
Kat Marchán 4d45884362
0.10.0 2021-08-17 19:36:54 -07:00
Kat Marchán ad2bd945ed
docs: update changelog 2021-08-17 19:36:22 -07:00
Kat Marchán 385171eb81
feat(derive): Allow anything Clone + Into<SourceSpan> to be used as a Span
Fixes: https://github.com/zkat/miette/issues/12
2021-08-17 19:30:22 -07:00
Kat Marchán 26f409c525
feat(offsets): nice utility function to get an offset from a Rust callsite
Fixes: https://github.com/zkat/miette/issues/19
2021-08-17 19:18:57 -07:00
Kat Marchán 75c2312755
feat(offsets): utility function for converting from line/col to offset 2021-08-17 18:31:12 -07:00
Kat Marchán 95200366a1
feat(offsets): more utility From impls for SourceSpan 2021-08-17 18:30:38 -07:00
Kat Marchán 53074d3488
feat(protocol): add Source impls for Cow and Arc 2021-08-17 17:54:29 -07:00
Kat Marchán 49151bb095
fix(protocol): keep the owned spans 2021-08-17 17:15:05 -07:00
Kat Marchán f390520b45
feat(protocol): reference-based DiagnosticReport! 2021-08-17 15:30:52 -07:00
Kat Marchán b7deb2d002
docs: update readme oops 2021-08-17 09:05:53 -07:00
Kat Marchán f79aee63b1
0.9.0 2021-08-17 08:48:48 -07:00
Kat Marchán bdec477e3d
docs: update changelog 2021-08-17 08:48:01 -07:00
Kat Marchán acfeb9c5b0
feat(protocol): new SourceSpans with labels 2021-08-17 08:41:20 -07:00
Kat Marchán 36b86df9f5
feat(protocol): implement From<(usize, usize)> for SourceSpan 2021-08-16 23:46:32 -07:00
Kat Marchán f704d6a9ae
fix(derive): allow unused variables for the snippets method 2021-08-16 23:10:08 -07:00
Kat Marchán ee2e2d1ef2
0.8.1 2021-08-16 22:44:12 -07:00
Kat Marchán 02d6617898
docs: update changelog 2021-08-16 22:43:44 -07:00
Kat Marchán 698bb0eff5
docs: update readme 2021-08-16 22:41:40 -07:00
Kat Marchán 8fdf05b523
0.8.0 2021-08-16 22:25:54 -07:00
Kat Marchán 639dedc9f9
docs: update changelog 2021-08-16 22:25:12 -07:00
Kat Marchán f6e6acf2d2
feat(derive): Support for deriving snippet method (#18)
Fixes: #11
2021-08-16 22:20:13 -07:00
Kat Marchán 3e5ee0ee4d
fmt: cargo fmt --all 2021-08-15 21:08:53 -07:00
Kat Marchán 991a93619b
0.7.0 2021-08-15 18:21:03 -07:00
Kat Marchán 25bcf2d720
docs: update changelog 2021-08-15 18:20:28 -07:00
Kat Marchán 9ef0dd261f
feat(derive): improved derive support, including partial help format string support! 2021-08-15 18:15:50 -07:00
Kat Marchán 9a78a94395
fix(derive): move to plain syn to fix darling issues 2021-08-15 17:27:39 -07:00
Kat Marchán 027c3b0a94
0.6.0 2021-08-15 11:54:07 -07:00
Kat Marchán 2892a946e6
docs: update changelog 2021-08-15 11:50:07 -07:00
Kat Marchán 0e7702700d
feat(derive): added basic derive macro
This should be good for most basic use cases. More features will be added over time :)
2021-08-15 11:49:02 -07:00
Kat Marchán b8c89813b9
0.5.0 2021-08-14 13:35:11 -07:00
Kat Marchán 28d561e133
docs: update changelog 2021-08-14 13:34:57 -07:00
Kat Marchán a960136802
feat(utils): various convenience utilities for creating and working with Diagnostics 2021-08-14 13:32:22 -07:00
Kat Marchán fd0d2b12b7
0.4.0 2021-08-10 22:52:20 -04:00
Kat Marchán 0210ccab4d
doc: update changelog 2021-08-10 22:51:44 -04:00
Kat Marchán d201dde4b5
fix(reporter): fix reporter and tests... again 2021-08-10 22:47:28 -04:00
Kat Marchán 0d2e3312a4
fix(reporter): fix extra newline after header 2021-08-10 22:04:28 -04:00
Kat Marchán 02dd1f84d4
feat(protocol): Simplify protocol return values further
BREAKING CHANGE: Switched to Box instead of & for help/code return values.
2021-08-10 21:40:25 -04:00