text-typeset 1.6.2

Turns rich text documents into GPU-ready glyph quads
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"
name = "text-typeset"
version = "1.6.2"
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 = "blockquote_nesting_tests"
path = "tests/blockquote_nesting_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_enumeration_tests"
path = "tests/font_enumeration_tests.rs"

[[test]]
name = "font_scale_tests"
path = "tests/font_scale_tests.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.11.0"

[dependencies.hypher]
version = "0.1.7"
default-features = false

[dependencies.icu_segmenter]
version = "2"

[dependencies.swash]
version = "0.2.9"

[dependencies.text-document]
version = "1.6.3"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.ttf-parser]
version = "0.25"

[dependencies.unicode-bidi]
version = "0.3"

[dev-dependencies.insta]
version = "1.48.0"
features = ["yaml"]

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.text-document]
version = "1.7.0"

[profile.release]
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true