5 releases

0.2.3 Jan 27, 2024
0.2.2 Oct 22, 2022
0.2.1 Sep 15, 2022
0.2.0 Aug 2, 2022
0.1.0 Apr 7, 2022

#167 in Text processing

Download history 3479/week @ 2023-12-23 6925/week @ 2023-12-30 10121/week @ 2024-01-06 18200/week @ 2024-01-13 11597/week @ 2024-01-20 8916/week @ 2024-01-27 8872/week @ 2024-02-03 8615/week @ 2024-02-10 7876/week @ 2024-02-17 8938/week @ 2024-02-24 8082/week @ 2024-03-02 9280/week @ 2024-03-09 10121/week @ 2024-03-16 11031/week @ 2024-03-23 9066/week @ 2024-03-30 7176/week @ 2024-04-06

39,156 downloads per month
Used in 20 crates (via termwiz)

MIT AND Unicode-DFS-2016

390KB
5K SLoC

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.

Dependencies

~2MB
~41K SLoC