servo/unicode-bidi

Make types generic over encoding

オープン

#113 opened on 2023/10/30

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (38 件のフォーク)github user discovery
help wanted

Repository metrics

Stars
 (87 個のスター)
PR merge metrics
 (平均マージ 4d 12h) (30d で 2 merged PRs)

説明

See https://github.com/servo/unicode-bidi/pull/109

Currently we have BidiInfo and then utf16::BidiInfo types (with other similar duplication).

It would be nice if instead we had BidiInfo<T>, ParagraphInfo<T>, etc, which all used some trait input like TextInfo; rather than having duplicate types for everything. We might need some kind of UTF8 UTF16 marker type for this.

I don't have the time to do this myself but it would be really neat. Especially if we can extend stuff to UTF32 as well as WTF8 and other ill-formed UTF8.

コントリビューターガイド