lumen-engine-text 0.2.2

Text layout and glyph data helpers for the Lumen engine.
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 = "lumen-engine-text"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Text layout and glyph data helpers for the Lumen engine."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/lumiscia/lumen-oss"

[features]
experimental-msdf = [
    "dep:fdsm",
    "dep:fdsm-skrifa",
    "dep:half",
    "dep:nalgebra",
    "dep:skrifa",
]

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

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

[dependencies.bytemuck]
version = "1.25.0"
features = ["derive"]

[dependencies.cosmic-text]
version = "0.18.2"
features = [
    "std",
    "swash",
]
default-features = false

[dependencies.fdsm]
version = "0.8.0"
optional = true

[dependencies.fdsm-skrifa]
version = "0.2.0"
optional = true

[dependencies.half]
version = "2.7.1"
optional = true

[dependencies.nalgebra]
version = "0.34.1"
optional = true

[dependencies.skrifa]
version = "0.40.0"
optional = true

[dev-dependencies.image]
version = "0.25.10"
features = ["png"]
default-features = false

[dev-dependencies.lumen-gpu]
version = "0.2.2"
package = "lumen-engine-gpu"

[dev-dependencies.pollster]
version = "0.4.0"