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

#160 in Text processing

Download history 10140/week @ 2024-03-14 11196/week @ 2024-03-21 8733/week @ 2024-03-28 9218/week @ 2024-04-04 9476/week @ 2024-04-11 10254/week @ 2024-04-18 8909/week @ 2024-04-25 8141/week @ 2024-05-02 8312/week @ 2024-05-09 8828/week @ 2024-05-16 7142/week @ 2024-05-23 9651/week @ 2024-05-30 9085/week @ 2024-06-06 10297/week @ 2024-06-13 9492/week @ 2024-06-20 5979/week @ 2024-06-27

36,725 downloads per month
Used in 23 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

~0.6–1.1MB
~25K SLoC