cosmic-text/Cargo.toml

49 lines
1.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"
2023-04-03 08:27:28 -06:00
version = "0.8.0"
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]
fontdb = { version = "0.13.0", default-features = false }
2022-12-14 09:21:42 -07:00
libm = "0.2.6"
log = "0.4.17"
2023-03-12 10:23:54 +01:00
ouroboros = { version = "0.15.5", default-features = false }
2023-03-01 22:10:49 +01:00
rustybuzz = { version = "0.7.0", default-features = false, features = ["libm"] }
2022-12-14 09:21:42 -07:00
swash = { version = "0.1.6", optional = true }
syntect = { version = "5.0.0", optional = true }
sys-locale = { version = "0.2.3", optional = true }
unicode-linebreak = "0.1.4"
unicode-script = "0.5.5"
unicode-segmentation = "1.10.0"
2022-12-29 10:25:01 -05:00
rangemap = "1.2.0"
2022-10-18 12:07:22 -06:00
2022-11-08 08:43:27 -07:00
[dependencies.unicode-bidi]
2022-12-14 09:21:42 -07:00
version = "0.3.8"
2022-11-08 08:43:27 -07:00
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",
2023-03-12 10:23:54 +01:00
"ouroboros/std",
2022-11-08 08:43:27 -07:00
"rustybuzz/std",
"sys-locale",
"unicode-bidi/std",
]
vi = ["syntect"]
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
]