Commit graph

16 commits

Author SHA1 Message Date
Douglas Creager
d2d01e77e3 cli: Use anyhow and thiserror for errors
This patch updates the CLI to use anyhow and thiserror for error
management.  The main feature that our custom `Error` type was providing
was a _list_ of messages, which would allow us to annotate "lower-level"
errors with more contextual information.  This is exactly what's
provided by anyhow's `Context` trait.

(This is setup work for a future PR that will pull the `config` and
`loader` modules out into separate crates; by using `anyhow` we wouldn't
have to deal with a circular dependency between with the new crates.)
2021-06-09 16:17:23 -04:00
Max Brunsfeld
841e160898 rust libs: 0.19.2 2021-03-08 10:03:45 -08:00
Max Brunsfeld
0818892a1a libs: 0.19.1 2021-03-05 15:31:48 -08:00
Max Brunsfeld
22fb88e89d Bump library versions to 0.19 2021-03-01 14:46:43 -08:00
Max Brunsfeld
28557ea8b4 highlight: 0.3 2020-09-24 15:07:56 -07:00
Max Brunsfeld
1d68896900 highlight: 0.2.0 2020-05-12 16:31:02 -07:00
Max Brunsfeld
4dc82d8b8b Remove unused serde dependency from highlight crate 2020-03-25 12:49:11 -07:00
Max Brunsfeld
ec7756faa0 Add repo URL to Cargo.toml files 2019-08-19 17:31:35 -07:00
Max Brunsfeld
31537a68c6 Bump library versions 2019-05-31 10:24:29 -07:00
Max Brunsfeld
e0f0043edd Highlight: 0.1.5 2019-03-13 16:31:08 -07:00
Max Brunsfeld
98e4fd22ef Start work on a C API for syntax highlighting 2019-03-08 13:13:02 -08:00
Max Brunsfeld
ba165c2909 highlight: 0.1.4 2019-02-25 13:02:50 -08:00
Max Brunsfeld
d3628f3c0c highlight: 0.1.3 2019-02-22 11:50:27 -08:00
Max Brunsfeld
27d4f0d69d highlight: 0.1.2 2019-02-20 16:47:27 -08:00
Max Brunsfeld
d63368552a highlight: 0.1.1 2019-02-20 10:42:56 -08:00
Max Brunsfeld
e89b6b2402 Add a highlight subcommand 2019-02-19 12:32:03 -08:00