text-typeset 0.0.1

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 = "0.0.1"
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/jacquetc/text-typeset"
documentation = "https://docs.rs/text-typeset/"
readme = "README.md"
keywords = [
    "text",
    "document",
    "format",
]
categories = [
    "text-editors",
    "text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jacquetc/text-typeset"

[features]
default = ["text-document"]
text-document = ["dep:text-document"]

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

[[test]]
name = "atlas_tests"
path = "tests/atlas_tests.rs"

[[test]]
name = "font_tests"
path = "tests/font_tests.rs"

[[test]]
name = "hit_test_tests"
path = "tests/hit_test_tests.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "layout_tests"
path = "tests/layout_tests.rs"

[[test]]
name = "render_tests"
path = "tests/render_tests.rs"

[[test]]
name = "shaping_tests"
path = "tests/shaping_tests.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.etagere]
version = "0.3"

[dependencies.fontdb]
version = "0.23"

[dependencies.rustybuzz]
version = "0.20"

[dependencies.swash]
version = "0.2"

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

[dependencies.thiserror]
version = "2.0"

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

[dependencies.unicode-linebreak]
version = "0.1"

[dev-dependencies]

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