kas-text 0.9.0

Text layout and font management
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"
rust-version = "1.88.0"
name = "kas-text"
version = "0.9.0"
authors = ["Diggory Hardy <git@dhardy.name>"]
build = false
exclude = ["design"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Text layout and font management"
documentation = "https://docs.rs/kas-text/"
readme = "README.md"
keywords = [
    "text",
    "bidi",
    "shaping",
]
categories = ["text-processing"]
license = "Apache-2.0"
repository = "https://github.com/kas-gui/kas-text"

[package.metadata.docs.rs]
all-features = true

[features]
ab_glyph = ["dep:ab_glyph"]
markdown = ["pulldown-cmark"]
num_glyphs = []
rustybuzz = ["dep:rustybuzz"]
serde = [
    "dep:serde",
    "bitflags/serde",
]
shaping = ["rustybuzz"]

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

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

[dependencies.ab_glyph]
version = "0.2.10"
optional = true

[dependencies.bitflags]
version = "2.4.2"

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.easy-cast]
version = "0.5.0"

[dependencies.fontique]
version = "0.7.0"

[dependencies.log]
version = "0.4"

[dependencies.pulldown-cmark]
version = "0.13.0"
optional = true

[dependencies.rustybuzz]
version = "0.20.1"
optional = true

[dependencies.serde]
version = "1.0.123"
features = ["derive"]
optional = true

[dependencies.smallvec]
version = "1.6.1"

[dependencies.swash]
version = "0.2.4"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tinyvec]
version = "1.9.0"
features = ["alloc"]

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

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

[dependencies.unicode-bidi-mirroring]
version = "0.4.0"

[dev-dependencies.serde_json]
version = "1.0"

[lints.clippy]
len_zero = "allow"
manual_is_multiple_of = "allow"
manual_range_contains = "allow"
needless_lifetimes = "allow"
neg_cmp_op_on_partial_ord = "allow"
type_complexity = "allow"
unit_arg = "allow"