sapling/eden/scm/lib/renderdag/Cargo.toml
Mark Thomas d06144e957 renderdag: test width correctly matches rendered width
Summary:
Enhance the tests to test whether the width of the graph matches the width that
was given by the `width` method before `next_row` was called.

The width we are interested in is the number of cells the string would occupy,
not the string length, so use the `unicode-width` crate to determine this.

Reviewed By: quark-zju

Differential Revision: D19282571

fbshipit-source-id: d9852c4c9e0f76c78db047f0da5dd34723a62a2a
2020-01-13 10:22:43 -08:00

16 lines
254 B
TOML

[package]
name = "renderdag"
version = "0.1.0"
edition = "2018"
[dependencies]
anyhow = "1.0.20"
bitflags = "1"
tempfile = "3.0.7"
itertools = "0.8"
[dev-dependencies]
drawdag = { path = "../drawdag" }
dag = { path = "../dag" }
unicode-width = "0.1.7"