Parley Data
Unicode data for text layout
Parley Data packages the Unicode data that Parley's text analysis and shaping pipeline needs at runtime.
It exposes Unicode character Properties backed by compact PackTab lookup tables, allowing the
engine to obtain all required character properties with a single lookup.
WARNING: This crate is currently designed only for use within Parley; if you have a use case for it, please reach out.
Features
The following crate feature flags are available:
std(enabled by default): This is currently unused and is provided for forward compatibility.
Note that Parley Data requires that an allocator is available (i.e. it depends on alloc).
Currently, Parley Data does not actually allocate, but the dependency is kept so starting to allocate in the future is not a breaking change.
Regenerating the baked data
Run the following from the repository root to regenerate the baked data:
Minimum supported Rust Version (MSRV)
This version of Parley Data has been verified to compile with Rust 1.88 and later.
Future versions of Parley Data might increase the Rust version requirement. It will not be treated as a breaking change and as such can even happen with small patch releases.
Community
Discussion of Parley Data development happens in the Linebender Zulip, specifically the #parley channel. All public content can be read without logging in.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Contributions are welcome by pull request. The Rust code of conduct applies. Please feel free to add your name to the AUTHORS file in any substantive pull request.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.