add pretty print

This commit is contained in:
nora 2022-01-04 23:09:18 +01:00
parent 1a77e710d5
commit 76af14a9f4
11 changed files with 114 additions and 5 deletions

View file

@ -7,11 +7,16 @@ edition = "2021"
[dependencies]
bumpalo = { version = "3.8.0", features = ["collections", "boxed"] }
debug2 = { version = "0.1.0", optional = true }
rustc-hash = { version = "1.1.0", optional = true }
[features]
fxhash = ["rustc-hash"]
pretty = ["debug2"]
# todo: we don't actually want this as a default feature
default = ["pretty"]
[dev-dependencies]
insta = "1.9.0"