Matthias Beyer
c41c842e46
Fix: Pass in diagnostic source directly, not as a AsRef::as_ref()
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-05-13 08:10:54 +02:00
Kat Marchán
e251638adb
(cargo-release) start next development iteration 4.7.1-alpha.0
2022-05-05 08:59:47 -07:00
Kat Marchán
ba7b58cb40
(cargo-release) version 4.7.0
2022-05-05 08:59:04 -07:00
Matthias Beyer
bc449c8426
feat(diagnostic_source): add protocol method for Diagnostic-aware source chaining ( #165 )
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-05-05 08:32:37 -07:00
Kat Marchán
22de435406
(cargo-release) start next development iteration 4.6.1-alpha.0
2022-04-22 19:34:19 -07:00
Kat Marchán
f338860584
(cargo-release) version 4.6.0
2022-04-22 19:33:38 -07:00
Kat Marchán
bffb18ab11
(cargo-release) start next development iteration 4.5.1-alpha.0
2022-04-17 22:54:19 -07:00
Kat Marchán
5b457ed4fe
(cargo-release) version 4.5.0
2022-04-17 22:53:38 -07:00
Kat Marchán
9da62cd05d
feat(label): use macro magic instead of optional flag for optional labels
2022-04-17 22:43:01 -07:00
Kat Marchán
ea55f458fa
feat(help): allow non-option values in #[help] fields
2022-04-17 22:43:01 -07:00
Kat Marchán
23ee3642d1
feat(labels): allow optional labels in derive macro ( #153 )
...
Fixes: https://github.com/zkat/miette/issues/110
2022-04-17 19:41:10 -07:00
Kat Marchán
45093c2f58
feat(help): update macro to allow optional help text ( #152 )
...
Fixes: https://github.com/zkat/miette/issues/148
2022-04-17 18:19:28 -07:00
Kat Marchán
86cdf4796f
(cargo-release) start next development iteration 4.4.1-alpha.0
2022-04-12 11:42:36 -07:00
Kat Marchán
0103f2c4f9
(cargo-release) version 4.4.0
2022-04-12 11:41:51 -07:00
Kat Marchán
a0b972f876
fix(docsrs): use proper module names for docsrs URLs
...
Fixes: https://github.com/zkat/miette/issues/147
2022-04-03 13:27:55 -07:00
Kat Marchán
83ed029de2
(cargo-release) start next development iteration 4.3.1-alpha.0
2022-03-27 15:39:35 -07:00
Kat Marchán
235df4bc75
(cargo-release) version 4.3.0
2022-03-27 15:38:47 -07:00
Kat Marchán
2adf0a3f22
(cargo-release) version 4.2.1
2022-02-25 08:50:16 -08:00
Moritz Mœller
5d23c0d61d
fix(docs): Docs overhaul ( #124 )
...
* Fixed/formatted all intradoc links. Various other small doc fixes/typography/etc.
* Clarified semantic similarity with anyhow/eyre types/macros.
* Removed unused MietteError::SetPrinterFailure.
* README now generaed from lib.rs via `cargo readme`.
* More doc fixes, made ErrorHook type public.
* Indentation (docs).
2022-02-25 08:39:18 -08:00
Kat Marchán
fa5b5fee54
fix(clippy): 1.59.0 clippy fix
2022-02-24 21:07:10 -08:00
Kat Marchán
495a45c036
(cargo-release) version 4.2.0
2022-02-21 19:15:47 -08:00
Paul Colomiets
75d4505e7d
feat(derive): allow `Report` in `related` ( #121 )
...
Fixes : #119
2022-02-21 19:12:37 -08:00
Kat Marchán
44223bf986
(cargo-release) version 4.1.0
2022-02-20 16:31:43 -08:00
Paul Colomiets
6eb3d2d8a6
fix(derive): absolute path references to Diagnostic ( #118 )
2022-02-19 17:01:18 -08:00
Kat Marchán
01618289c9
(cargo-release) version 4.0.1
2022-02-17 22:28:53 -08:00
Kat Marchán
8845ee0c7b
(cargo-release) start next development iteration 4.0.1-alpha.0
2022-02-17 22:14:03 -08:00
Kat Marchán
647a6789d8
(cargo-release) version 4.0.0
2022-02-17 22:13:11 -08:00
Kyle Brown
5b8b5478b6
feat(derive): Make derive macro `diagnostic` attribute more flexible. ( #115 )
...
Fixes : #114
* Improved defaulting
* Added correct combining logic
Added variable number of diagnostic attributes
* Error handling, testing, and docs improvements
Co-authored-by: Kyle Brown <kyleb@liquidrocketry.com>
2022-02-17 22:04:03 -08:00
Kat Marchán
aecc81d9d4
(cargo-release) start next development iteration 3.3.1-alpha.0
2022-01-07 18:08:54 -08:00
Kat Marchán
bfaef933dd
(cargo-release) version 3.3.0
2022-01-07 18:07:56 -08:00
Kat Marchán
9afc94a28e
(cargo-release) start next development iteration 3.2.1-alpha.0
2021-10-05 21:10:00 -07:00
Kat Marchán
20aa544279
(cargo-release) version 3.2.0
2021-10-05 21:09:20 -07:00
Kat Marchán
98ae09a0bb
(cargo-release) version 3.1.0
2021-10-01 12:10:21 -07:00
Kat Marchán
f0e4071a99
(cargo-release) version 3.0.1
2021-09-26 13:03:44 -07:00
Kat Marchán
eb816ee98a
(cargo-release) version 3.0.0
2021-09-22 16:38:50 -07:00
Kat Marchán
addde7ce8d
(cargo-release) version 3.0.0-beta.0
2021-09-22 16:34:21 -07:00
Kat Marchán
8e11baab7b
feat(related): Add related diagnostics ( #68 )
...
Fixes: https://github.com/zkat/miette/issues/47
2021-09-22 16:34:21 -07:00
Kat Marchán
68a5b76745
(cargo-release) version 3.0.0-alpha.0
2021-09-22 16:34:21 -07:00
Kat Marchán
f87b158b22
feat(labels): replace snippet stuff with simpler labels ( #62 )
2021-09-22 16:34:21 -07:00
Kat Marchán
92a3150921
fix(derive): Code is no longer required
2021-09-22 16:34:21 -07:00
Kat Marchán
7468b68567
(cargo-release) start next development iteration 2.2.1-alpha.0
2021-09-13 19:01:23 -07:00
Kat Marchán
19a194a6dd
(cargo-release) version 2.2.0
2021-09-13 19:00:44 -07:00
Cormac Relf
2fa5551c81
feat(derive): Add `#[diagnostic(forward(field_name), code(...))]` ( #41 )
2021-09-13 15:39:04 -07:00
Kat Marchán
ea8561bd03
(cargo-release) start next development iteration 2.1.3-alpha.0
2021-09-09 20:40:10 -07:00
Kat Marchán
bfaf485e3f
(cargo-release) version 2.1.2
2021-09-09 20:39:23 -07:00
Kat Marchán
f4119abc9b
(cargo-release) version 2.1.1
2021-09-08 21:05:57 -07:00
Kat Marchán
1e0e3f5910
(cargo-release) version 2.1.0
2021-09-07 17:50:23 -07:00
Kat Marchán
ffe1b558d0
feat(derive): make #[diagnostic] optional for enums, too
2021-09-07 17:45:30 -07:00
Kat Marchán
b71b583d27
(cargo-release) start next development iteration 2.0.1-alpha.0
2021-09-04 21:55:32 -07:00
Kat Marchán
16bd3d21de
(cargo-release) version 2.0.0
2021-09-04 21:54:47 -07:00