[package]
edition = "2024"
name = "text-typeset"
version = "1.5.0"
authors = ["Cyril Jacquet <cyril.jacquet@ferntech.eu>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Turns rich text documents into GPU-ready glyph quads"
homepage = "https://github.com/ferntech-eu/text-typeset"
documentation = "https://docs.rs/text-typeset/"
readme = "README.md"
keywords = [
"text",
"document",
"format",
]
categories = [
"text-editors",
"text-processing",
]
license = "MPL-2.0"
repository = "https://github.com/ferntech-eu/text-typeset"
[features]
default = [
"text-document",
"hyphenation-western-european",
]
hyphenation-all-languages = ["hypher/default"]
hyphenation-western-european = [
"hypher/alloc",
"hypher/english",
"hypher/french",
"hypher/german",
"hypher/spanish",
"hypher/italian",
"hypher/portuguese",
"hypher/dutch",
]
text-document = ["dep:text-document"]
[lib]
name = "text_typeset"
path = "src/lib.rs"
[[test]]
name = "affinity_tests"
path = "tests/affinity_tests.rs"
[[test]]
name = "atlas_tests"
path = "tests/atlas_tests.rs"
[[test]]
name = "complex_script_tests"
path = "tests/complex_script_tests.rs"
[[test]]
name = "debug_nav"
path = "tests/debug_nav.rs"
[[test]]
name = "font_tests"
path = "tests/font_tests.rs"
[[test]]
name = "fuzz_robustness_tests"
path = "tests/fuzz_robustness_tests.rs"
[[test]]
name = "helpers"
path = "tests/helpers.rs"
[[test]]
name = "hit_test_tests"
path = "tests/hit_test_tests.rs"
[[test]]
name = "hyphenation_tests"
path = "tests/hyphenation_tests.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "invariant_tests"
path = "tests/invariant_tests.rs"
[[test]]
name = "layout_tests"
path = "tests/layout_tests.rs"
[[test]]
name = "multibyte_hit_test"
path = "tests/multibyte_hit_test.rs"
[[test]]
name = "navigation_tests"
path = "tests/navigation_tests.rs"
[[test]]
name = "paint_overlay_tests"
path = "tests/paint_overlay_tests.rs"
[[test]]
name = "render_tests"
path = "tests/render_tests.rs"
[[test]]
name = "rtl_hit_test_tests"
path = "tests/rtl_hit_test_tests.rs"
[[test]]
name = "scale_factor_tests"
path = "tests/scale_factor_tests.rs"
[[test]]
name = "shaping_tests"
path = "tests/shaping_tests.rs"
[[test]]
name = "single_line_tests"
path = "tests/single_line_tests.rs"
[[test]]
name = "snapshot_tests"
path = "tests/snapshot_tests.rs"
[[test]]
name = "system_font_tests"
path = "tests/system_font_tests.rs"
[[test]]
name = "table_tests"
path = "tests/table_tests.rs"
[dependencies.etagere]
version = "0.3"
[dependencies.fontdb]
version = "0.23.0"
[dependencies.harfrust]
version = "0.8.4"
[dependencies.hypher]
version = "0.1.7"
default-features = false
[dependencies.icu_segmenter]
version = "2"
[dependencies.swash]
version = "0.2"
[dependencies.text-document]
version = "1.6.3"
optional = true
[dependencies.thiserror]
version = "2.0"
[dependencies.unicode-bidi]
version = "0.3"
[dev-dependencies.insta]
version = "1.40"
features = ["yaml"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.text-document]
version = "1.6.3"
[profile.release]
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true