parley_data 0.13.0

Unicode data for Parley
Documentation

Parley Data

Unicode data for text layout

Latest published version. Documentation build status. Apache 2.0 or MIT license.
Linebender Zulip chat. GitHub Actions CI status. Dependency staleness status.

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:

cargo run -p parley_data_gen -- ./parley_data/src/generated
cargo fmt -p parley_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

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.