Commit Graph

8 Commits

Author SHA1 Message Date
Adam Curtis 6bf9ff4775 add syntax highlighting support with syntect crate 2023-11-19 14:38:14 -05:00
Bruce Mitchener cc81382a60
fix(misc): Improve ci and fix clippy (#290)
* ci: Update actions, replace actions-rs.

* `actions/checkout` is updated from `v1` to the current `v4`.
* `actions-rs/toolchain` is replaced by `dtolnay/rust-toolchain` as
  the `actions-rs` actions haven't been maintained in a long time.

* clippy: Remove unnecessary call to `into_iter`.

The parameter takes `IntoIterator`, so we don't have to call
`into_iter` at the call site.

* clippy: Remove explicit lifetime that can be elided.

* clippy: tests: Fix useless conversion warnings.

* clippy: tests: Remove call to `format!`.

* Fix minimal-versions build.

Due to changes in the nightly compiler, using a recent nightly
requires proc-macro2 1.0.60 or later:

https://github.com/dtolnay/proc-macro2/issues/356

* ci: Use is-terminal 0.4.7 for MSRV builds.

is-terminal 0.4.8 updated its MSRV to 1.63, so we can't use it
with our MSRV of 1.56. Force usage of the older version which has
an older MSRV.
2023-09-20 10:37:40 -07:00
Gavrilikhin Daniil 024145dbdd
Add dynamic diagnostic (#262) 2023-05-13 13:59:43 -07:00
Benjamin Lee ac02a1242b
feat(version): declare minimum supported rust version at 1.56.0 (#209)
Co-authored-by: Benjamin Lee <benjamin@computer.surgery>
2022-10-10 09:38:05 -07:00
Nathan Whitaker 5f3429b062
fix(miri): Resolve Miri's concerns around unsafe code (#197) 2022-08-25 08:30:18 -07:00
Tom Parker-Shemilt ccf1b8ade5
fix(deps): bump minimum supports-color version (#182)
also set things up so that we don't get caught off-guard in the future by incompatible minimum versions.
2022-06-26 14:55:19 -07:00
Kat Marchán aeefcab926 meta: test fancy 2021-09-22 16:34: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