3 releases (breaking)
0.3.0 | Feb 27, 2025 |
---|---|
0.2.0 | Oct 10, 2024 |
0.1.0 | May 1, 2024 |
#149 in GUI
894 downloads per month
Used in 4 crates
(2 directly)
555KB
12K
SLoC
Parley provides an API for implementing rich text layout. It is backed by Swash.
Minimum supported Rust Version (MSRV)
This version of Parley has been verified to compile with Rust 1.82 and later.
Future versions of Parley 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.
Click here if compiling fails.
As time has passed, some of Parley's dependencies could have released versions with a higher Rust requirement. If you encounter a compilation issue due to a dependency and don't want to upgrade your Rust toolchain, then you could downgrade the dependency.
# Use the problematic dependency's name and version
cargo update -p package_name --precise 0.1.1
Community
Discussion of Parley development happens in the Linebender Zulip, specifically the #text stream. All public content can be read without logging in.
Contributions are welcome by pull request. The Rust code of conduct applies.
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 noted in the License section, without any additional terms or conditions.
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.
Some files used for tests are under different licenses:
- The font file
Roboto-Regular.ttf
in/parley/tests/assets/roboto_fonts/
is licensed solely as documented in that folder (and is licensed under the Apache License, Version 2.0).
Dependencies
~7–32MB
~494K SLoC