Gavrilikhin Daniil
b65872011c
Add `and_label(s)`
2023-05-07 09:44:23 +08:00
Gavrilikhin Daniil
4148552cf0
`miette_diagnostic!` -> `diagnostic!`
2023-05-07 09:26:02 +08:00
Gavrilikhin Daniil
e35a63a992
description -> message
2023-05-07 09:22:40 +08:00
Gavrilikhin Daniil
0e5512ad35
Add dot
...
Co-authored-by: Kat Marchán <kzm@zkat.tech>
2023-05-07 08:59:16 +08:00
Gavrilikhin Daniil
7c4dd12d8d
Add docs
2023-05-06 23:31:00 +08:00
Gavrilikhin Daniil
52e2dcbced
Add `bail!` support
2023-05-06 23:03:31 +08:00
Gavrilikhin Daniil
4f0bc3e8d3
Add `ensure!` support
2023-05-06 22:58:08 +08:00
Gavrilikhin Daniil
287ffc54ac
Add `miette_diagnostic!`
2023-05-06 22:41:33 +08:00
Gavrilikhin Daniil
bcf18f8151
Fully implement support for `MietteDiagnostic`-like arguments in `miette!`
2023-05-06 22:35:53 +08:00
Gavrilikhin Daniil
c2d793e578
labels: `Option<Vec<_>>`
2023-05-06 22:35:17 +08:00
Gavrilikhin Daniil
b9a892f39b
Use `Option<Severity>`
2023-05-06 12:59:10 +08:00
Gavrilikhin Daniil
021eb01feb
Adjust `miette!` a little bit
2023-05-06 12:55:44 +08:00
Gavrilikhin Daniil
8aaba9974e
Use convenience functions in examples
2023-05-06 10:32:35 +08:00
Gavrilikhin Daniil
a3ee52a3be
Add convenience function to `LabeledSpan`
2023-05-06 10:29:44 +08:00
Gavrilikhin Daniil
c6e977bbb8
Add labels field
2023-05-06 10:11:40 +08:00
Gavrilikhin Daniil
a1f602c0fe
Add url field
2023-05-06 09:49:36 +08:00
Gavrilikhin Daniil
53b21ead39
Add help field
2023-05-06 09:43:46 +08:00
Gavrilikhin Daniil
61d43f8b17
Add severity field
2023-05-06 09:34:45 +08:00
Gavrilikhin Daniil
01b34a4f75
Make `Severity::Error` to be default severity
2023-05-06 09:30:24 +08:00
Gavrilikhin Daniil
ab20069e85
DynamicDiagnostic -> MietteDiagnostic
2023-05-06 09:20:46 +08:00
Gavrilikhin Daniil
e6d2eede61
Add skeleton
2023-05-05 22:46:50 +08:00
Gavrilikhin Daniil
09d7d15098
Remove dot
2023-05-05 21:37:30 +08:00
Alexander Seiler
675f3411e3
fix(misc): Correct some typos ( #255 )
...
Signed-off-by: Alexander Seiler <seileralex@gmail.com>
2023-04-25 21:07:18 -07:00
Kat Marchán
2b4d67d7cd
chore: Release
2023-04-18 08:56:10 -07:00
Kat Marchán
1692d99fa8
docs: update changelog
2023-04-18 08:56:02 -07:00
Kat Marchán
adbff65e4e
fix(narrated): put URLs in their own line
...
This makes it easier for screen readers to access/visit.
2023-04-18 08:55:18 -07:00
Andrew Hickman
be3b254751
feat(source): Add getter for NamedSource name ( #252 )
2023-04-18 08:55:08 -07:00
Kat Marchán
80c6ce805b
chore: Release
2023-03-31 17:25:26 -07:00
Kat Marchán
b1276c4df5
docs: update changelog
2023-03-31 17:25:01 -07:00
Kat Marchán
b0453215f6
feat(panic): improved backtrace handling
...
Fixes: https://github.com/zkat/miette/issues/92
2023-03-31 17:08:20 -07:00
Aria Beingessner
0b445dc2b4
fix(tests): disable doctest that doesn't work with default feature flags ( #248 )
2023-03-30 09:19:51 -07:00
Aria Beingessner
159f2b354b
fix(colors): change unicode to default to ansi ( #249 )
2023-03-30 09:18:52 -07:00
Yoni Feng
566d6be6e3
misc(perf): nit perf improvements ( #244 )
2023-03-29 20:21:40 -07:00
jtroo
a215720576
feat(deps): update to syn2 ( #247 )
...
Fixes: https://github.com/zkat/miette/issues/243
2023-03-29 18:11:14 -07:00
Kat Marchán
78fe18e699
chore: Release
2023-03-13 21:15:55 -07:00
Kat Marchán
2335b25ee7
docs: update changelog
2023-03-13 21:15:33 -07:00
George Pollard
443d240f49
fix(atty): Switch out `atty` for `is-terminal` ( #229 )
2023-03-13 21:10:21 -07:00
Erich Gubler
ed486c959d
feat(protocol): implement `Ord` for `Severity` ( #240 )
...
Fixes: https://github.com/zkat/miette/issues/239
2023-03-01 15:48:11 -08:00
dalance
3497508aa9
fix(graphical): Fix wrong severity of related errors ( #234 )
2023-02-08 16:26:27 -08:00
Kat Marchán
b658fc020b
fix(ci): configure clippy-specific MSRV
2023-02-08 16:06:11 -08:00
Lucas Kent
ebc61b5cf8
docs: Mention miette::miette! macro under "... in application code" ( #233 )
2023-01-30 10:21:50 -08:00
Kat Marchán
14f952dc91
(cargo-release) start next development iteration 5.5.1-alpha.0
2022-11-23 16:56:53 -08:00
Kat Marchán
128c0a1fae
(cargo-release) start next development iteration 5.5.1-alpha.0
2022-11-23 16:56:52 -08:00
Kat Marchán
f4dbf4e5bf
(cargo-release) version 5.5.0
2022-11-23 16:56:04 -08:00
Kat Marchán
694c7de942
(cargo-release) version 5.5.0
2022-11-23 16:56:03 -08:00
Kat Marchán
8ccda047e0
docs: update changelog
2022-11-23 16:55:50 -08:00
Kat Marchán
d5fbb3409c
fix(license): fix mangled license text to improve recognition
...
Fixes: https://github.com/zkat/miette/issues/225
2022-11-23 16:37:22 -08:00
Benjamin Lee
8b56d277ef
fix(graphical): Fix panic with span extending past end of line ( #221 )
...
Fixes : #215
This also changes the behavior with spans including a CRLF line-ending.
Before the panic bug was introduced, these were rendered with the CRLF
being two visual columns wide. Now, any span extending past the EOL is
treated as including one extra visual column.
2022-11-23 16:35:13 -08:00
Daniel Rivas
c88f0b5aa0
fix(derive): elide lifetimes in derived functions ( #226 )
2022-11-21 09:51:10 -08:00
Sean Lynch
c857595e1a
feat(SourceCode): Implement SourceCode for Vec<u8> ( #216 )
2022-11-06 17:42:33 -08:00