2022-10-18 12:07:22 -06:00
|
|
|
[package]
|
|
|
|
|
name = "cosmic-text"
|
2022-10-25 12:54:21 -06:00
|
|
|
description = "Pure Rust multi-line text handling"
|
2022-11-08 13:25:21 -07:00
|
|
|
version = "0.4.1"
|
2022-10-18 12:07:22 -06:00
|
|
|
authors = ["Jeremy Soller <jeremy@system76.com>"]
|
|
|
|
|
edition = "2021"
|
2022-10-24 08:56:48 -06:00
|
|
|
license = "MIT OR Apache-2.0"
|
2022-11-03 21:20:41 +01:00
|
|
|
documentation = "https://docs.rs/cosmic-text/latest/cosmic_text/"
|
|
|
|
|
repository = "https://github.com/pop-os/cosmic-text"
|
2022-10-18 12:07:22 -06:00
|
|
|
|
|
|
|
|
[dependencies]
|
2022-11-08 08:43:27 -07:00
|
|
|
fontdb = { version = "0.10", default-features = false }
|
|
|
|
|
libm = "0.2"
|
2022-10-18 12:07:22 -06:00
|
|
|
log = "0.4"
|
2022-11-02 19:25:18 -07:00
|
|
|
ouroboros = "0.15.5"
|
2022-11-08 08:43:27 -07:00
|
|
|
rustybuzz = { version = "0.5", default-features = false, features = ["libm"]}
|
2022-10-25 10:55:24 -06:00
|
|
|
swash = { version = "0.1", optional = true }
|
2022-11-09 10:09:42 -07:00
|
|
|
syntect = { version = "5.0", optional = true }
|
2022-11-08 08:43:27 -07:00
|
|
|
sys-locale = { version = "0.2", optional = true }
|
2022-10-24 14:11:52 -06:00
|
|
|
unicode-linebreak = "0.1"
|
2022-10-18 12:07:22 -06:00
|
|
|
unicode-script = "0.5"
|
2022-10-24 14:27:26 -06:00
|
|
|
unicode-segmentation = "1.7"
|
2022-10-18 12:07:22 -06:00
|
|
|
|
2022-11-08 08:43:27 -07:00
|
|
|
[dependencies.unicode-bidi]
|
|
|
|
|
version = "0.3"
|
|
|
|
|
default-features = false
|
|
|
|
|
features = ["hardcoded-data"]
|
|
|
|
|
|
2022-10-25 10:55:24 -06:00
|
|
|
[features]
|
2022-11-08 08:43:27 -07:00
|
|
|
default = ["std", "swash"]
|
|
|
|
|
no_std = [
|
|
|
|
|
"rustybuzz/libm",
|
|
|
|
|
]
|
|
|
|
|
std = [
|
|
|
|
|
"fontdb/memmap",
|
|
|
|
|
"fontdb/std",
|
|
|
|
|
"rustybuzz/std",
|
|
|
|
|
"sys-locale",
|
|
|
|
|
"unicode-bidi/std",
|
|
|
|
|
]
|
2022-10-25 10:55:24 -06:00
|
|
|
|
2022-10-18 12:07:22 -06:00
|
|
|
[workspace]
|
|
|
|
|
members = [
|
2022-10-18 13:32:50 -06:00
|
|
|
"examples/*",
|
2022-10-18 12:07:22 -06:00
|
|
|
]
|