cosmic-text/Cargo.toml

46 lines
1 KiB
TOML
Raw Normal View History

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"
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"
ouroboros = "0.15.5"
2022-11-08 08:43:27 -07:00
rustybuzz = { version = "0.5", default-features = false, features = ["libm"]}
swash = { version = "0.1", optional = true }
syntect = { version = "5.0", optional = true }
2022-11-08 08:43:27 -07:00
sys-locale = { version = "0.2", optional = true }
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"]
[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-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
]