diff options
author | Vincent Ambo <mail@tazj.in> | 2022-09-11T21·34+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-13T10·54+0000 |
commit | dea6d9b73b773b2072fcfaa46e6b8989c51d241f (patch) | |
tree | 4391add48cdb5f7f193aae59889cbcafa38fb290 /tvix/eval/Cargo.toml | |
parent | c0a2a13c848c7ac06bb2e2846423b37d88258f81 (diff) |
chore(tvix/eval): add dependency on codemap-diagnostic r/4827
This is a crate for source-span based error reporting. Since all of our spans are already codemap spans, it is a good starting point. We have to figure out quite a bit of logic for neat error printing; later on if we want fancier presentation we might want to look at one of the other libraries in this space like miette. Change-Id: I4e28886af1ed199b7112d9dbf063c9f29b612bf1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6531 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'tvix/eval/Cargo.toml')
-rw-r--r-- | tvix/eval/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/eval/Cargo.toml b/tvix/eval/Cargo.toml index ac01b595be22..60c0f12e6f95 100644 --- a/tvix/eval/Cargo.toml +++ b/tvix/eval/Cargo.toml @@ -20,6 +20,7 @@ path-clean = "0.1" tabwriter = "1.2" rowan = "*" # pinned by rnix codemap = "0.1.3" +codemap-diagnostic = "0.1.1" # rnix has not been released in a while (as of 2022-09-01), we will # use it from git. |