kas-text 0.2.1

Text layout and font management
Documentation
[package]
name = "kas-text"
version = "0.2.1"
authors = ["Diggory Hardy <git@dhardy.name>"]
edition = "2018"
license = "Apache-2.0"
description = "Text layout and font management"
readme = "README.md"
documentation = "https://docs.rs/kas-text/"
keywords = ["text", "bidi", "shaping"]
categories = ["text-processing"]
repository = "https://github.com/kas-gui/kas-text"
exclude = ["design"]

[features]
# Enable shaping. Prefer to depend on "shaping" since we may replace harfbuzz_rs.
shaping = ["harfbuzz_rs"]

# Enable Markdown parsing
markdown = ["pulldown-cmark"]

# Use Generic Associated Types (experimental)
gat = []

[dependencies]
bitflags = "1.2.1"
ttf-parser = "0.12.0"
font-kit = "0.8.0"
lazy_static = "1.4.0"
smallvec = "1.6.1"
xi-unicode = "0.3.0"
unicode-bidi = "0.3.4"
unicode-bidi-mirroring = "0.1.0"
thiserror = "1.0.20"
pulldown-cmark = { version = "0.8.0", optional = true }

[dependencies.harfbuzz_rs]
version = "1.1.2"
optional = true

[package.metadata.docs.rs]
# To build locally:
# RUSTDOCFLAGS="--cfg doc_cfg" cargo +nightly doc --features markdown --no-deps --open
features = ["markdown"]
rustdoc-args = ["--cfg", "doc_cfg"]