There have been a couple of attempts at this in the past, which had some usability warts in what I recall as an earlier, less useful set of features overall. Whether that was collective misunderstanding at the time, or things have gotten better since then, now is a good time to adopt the workspace dep syntax, because wezterm has many crates to keep on top of, and automation like dependabot can't see a lot of them. This will help to manage the versions of deps in wezterm centrally. Let's try this out in CI: the Cargo.lock changes here are minimal (eliminated a second version of base64 from one crate, terminal_size from another, and removed an explicit dep on serde_derive) so hopefully this sails through on !linux. closes: https://github.com/wezterm/wezterm/pull/6668
wezterm-bidi - a pure Rust bidi implementation
This crate provides an implementation of the The Unicode Bidirectional Algorithm (UBA) in Rust.
This crate was developed for use in wezterm but does not depend on other code in wezterm.
The focus for this crate is conformance.
Status
This crate resolves embedding levels and can reorder line ranges.
The implementation conformant with 100% of the BidiTest.txt and BidiCharacterTest.txt test cases (approx 780,000 test cases).
License
MIT compatible License Copyright © 2022-Present Wez Furlong.
Portions of the code in this crate were derived from the bidiref reference implementation of the UBA which is:
Copyright © 1991-2022 Unicode, Inc. All rights reserved.
See LICENSE.md for the full text of the license.