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

#135 in Text processing

Download history 10143/week @ 2024-08-15 10399/week @ 2024-08-22 9783/week @ 2024-08-29 10395/week @ 2024-09-05 13416/week @ 2024-09-12 10207/week @ 2024-09-19 14598/week @ 2024-09-26 13741/week @ 2024-10-03 12022/week @ 2024-10-10 10132/week @ 2024-10-17 12058/week @ 2024-10-24 13461/week @ 2024-10-31 18518/week @ 2024-11-07 19116/week @ 2024-11-14 15246/week @ 2024-11-21 13720/week @ 2024-11-28

68,840 downloads per month
Used in 35 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
~45K SLoC