diff --git a/Cargo.lock b/Cargo.lock index 0b73952c1..9a6208e27 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1303,9 +1303,11 @@ dependencies = [ "smallvec", "tempfile", "tracing", + "unicode-segmentation", "vello", "wgpu", "winit", + "xi-unicode", ] [[package]] @@ -3130,6 +3132,12 @@ version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a0ccd7b4a5345edfcd0c3535718a4e9ff7798ffc536bb5b5a0e26ff84732911" +[[package]] +name = "xi-unicode" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a67300977d3dc3f8034dae89778f502b6ba20b269527b3223ba59c0cf393bb8a" + [[package]] name = "xilem" version = "0.1.0" diff --git a/crates/masonry/Cargo.toml b/crates/masonry/Cargo.toml index fd1defca4..b4057fd01 100644 --- a/crates/masonry/Cargo.toml +++ b/crates/masonry/Cargo.toml @@ -30,6 +30,9 @@ pollster = "0.3.0" parley.workspace = true wgpu = { version = "0.19.3" } winit.workspace = true +unicode-segmentation = "1.11.0" +# TODO: Is this still the most up-to-date crate for this? +xi-unicode = "0.3.0" [dev-dependencies] float-cmp = { version = "0.8.0", features = ["std"], default-features = false } diff --git a/crates/masonry/examples/calc.rs b/crates/masonry/examples/calc.rs index 5013d36a6..13bbd852e 100644 --- a/crates/masonry/examples/calc.rs +++ b/crates/masonry/examples/calc.rs @@ -222,9 +222,9 @@ impl AppDriver for CalcState { ctx.get_root::() .child_mut(1) .unwrap() - .downcast::