cranpose-text 0.22.4

Text styles, fonts, shaping and paragraph layout for Cranpose
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.98"
name = "cranpose-text"
version = "0.22.4"
authors = ["Dmitry Samoylenko"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Text styles, fonts, shaping and paragraph layout for Cranpose"
homepage = "https://samoylenkodmitry.github.io/cranpose/"
readme = "README.md"
keywords = [
    "gui",
    "ui",
    "compose",
    "declarative",
    "framework",
]
categories = ["gui"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/samoylenkodmitry/cranpose"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
hyphenation = ["dep:hyphenation"]
hyphenation-embedded = [
    "hyphenation",
    "hyphenation/embed_all",
]
southeast-asian-line-breaks = []

[lib]
name = "cranpose_text"
path = "src/lib.rs"

[[test]]
name = "text_engine"
path = "tests/text_engine/main.rs"

[dependencies.ab_glyph_rasterizer]
version = "0.1.10"

[dependencies.cranpose-ui-graphics]
version = "0.22.4"

[dependencies.foldhash]
version = "0.2.0"

[dependencies.harfrust]
version = "0.15"

[dependencies.hyphenation]
version = "0.8.4"
optional = true
default-features = false

[dependencies.icu_properties]
version = "2.4"
features = [
    "compiled_data",
    "unicode_bidi",
]
default-features = false

[dependencies.icu_segmenter]
version = "2.4"
features = ["compiled_data"]
default-features = false

[dependencies.read-fonts]
version = "0.46"

[dependencies.smallvec]
version = "1.16"

[dependencies.thiserror]
version = "2.0.21"

[dependencies.unicode-bidi]
version = "0.3.18"
features = ["std"]
default-features = false

[dev-dependencies.ab_glyph]
version = "0.2.32"

[dev-dependencies.web-time]
version = "1.1"

[lints.clippy]
allow_attributes_without_reason = "deny"
assigning_clones = "warn"
clone_on_copy = "deny"
clone_on_ref_ptr = "warn"
cloned_instead_of_copied = "warn"
dbg_macro = "deny"
disallowed_methods = "allow"
disallowed_types = "deny"
elidable_lifetime_names = "warn"
explicit_iter_loop = "warn"
ignored_unit_patterns = "warn"
manual_assert = "warn"
manual_let_else = "warn"
map_unwrap_or = "warn"
multiple_inherent_impl = "deny"
needless_raw_string_hashes = "warn"
or_fun_call = "warn"
print_stderr = "warn"
print_stdout = "warn"
redundant_clone = "warn"
redundant_closure_for_method_calls = "warn"
redundant_locals = "deny"
semicolon_if_nothing_returned = "warn"
string_add = "warn"
todo = "deny"
uninlined_format_args = "warn"
unnested_or_patterns = "warn"
unwrap_used = "deny"
use_self = "warn"

[lints.rust]
linker_messages = "deny"
unreachable_pub = "warn"
unsafe_code = "deny"
unused_qualifications = "warn"