[[bench]]
harness = false
name = "layout"
[dependencies.bitflags]
version = "2.4.1"
[dependencies.cosmic_undo_2]
optional = true
version = "0.2.0"
[dependencies.fontdb]
default-features = false
version = "0.16"
[dependencies.hashbrown]
default-features = false
optional = true
version = "0.14.1"
[dependencies.libm]
optional = true
version = "0.2.8"
[dependencies.log]
version = "0.4.20"
[dependencies.modit]
optional = true
version = "0.1.4"
[dependencies.rangemap]
version = "1.4.0"
[dependencies.rayon]
optional = true
version = "1"
[dependencies.rustc-hash]
default-features = false
version = "1.1.0"
[dependencies.rustybuzz]
default-features = false
features = ["libm"]
version = "0.14"
[dependencies.self_cell]
version = "1.0.1"
[dependencies.swash]
optional = true
version = "0.1.17"
[dependencies.syntect]
optional = true
version = "5.1.0"
[dependencies.sys-locale]
optional = true
version = "0.3.1"
[dependencies.ttf-parser]
default-features = false
version = "0.21"
[dependencies.unicode-bidi]
default-features = false
features = ["hardcoded-data"]
version = "0.3.13"
[dependencies.unicode-linebreak]
version = "0.1.5"
[dependencies.unicode-script]
version = "0.5.5"
[dependencies.unicode-segmentation]
version = "1.10.1"
[dev-dependencies.criterion]
default-features = false
features = ["cargo_bench_support"]
version = "0.5.1"
[dev-dependencies.tiny-skia]
version = "0.11.2"
[features]
default = ["std", "swash", "fontconfig"]
fontconfig = ["fontdb/fontconfig", "std"]
monospace_fallback = []
no_std = ["rustybuzz/libm", "hashbrown", "dep:libm"]
shape-run-cache = []
std = ["fontdb/memmap", "fontdb/std", "rustybuzz/std", "sys-locale", "ttf-parser/std", "unicode-bidi/std", "rayon"]
vi = ["modit", "syntect", "cosmic_undo_2"]
warn_on_missing_glyphs = []
wasm-web = ["sys-locale?/js"]
[package]
authors = ["Jeremy Soller <jeremy@system76.com>"]
description = "Pure Rust multi-line text handling"
documentation = "https://docs.rs/cosmic-text/latest/cosmic_text/"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "cosmic-text"
readme = "README.md"
repository = "https://github.com/pop-os/cosmic-text"
rust-version = "1.65"
version = "0.12.1"
[package.metadata.docs.rs]
features = ["vi"]
[profile.test]
opt-level = 1