cosmic-text/Cargo.toml

54 lines
1.3 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-07-06 07:37:03 -06:00
version = "0.9.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]
2023-05-12 11:11:13 +08:00
fontdb = { version = "0.14.1", default-features = false }
2022-12-14 09:21:42 -07:00
libm = "0.2.6"
log = "0.4.17"
aliasable = "0.1.3"
2023-06-12 11:13:29 -06:00
rustybuzz = { version = "0.8.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.3.0", optional = true }
2022-12-14 09:21:42 -07:00
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"
2023-08-09 10:19:24 -02:30
hashbrown = { version = "0.14.0", optional = true, default-features = false }
rustc-hash = { version = "1.1.0", default-features = false }
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",
2023-08-09 10:19:24 -02:30
"hashbrown",
2022-11-08 08:43:27 -07:00
]
std = [
"fontdb/memmap",
"fontdb/std",
"rustybuzz/std",
"sys-locale",
"unicode-bidi/std",
]
vi = ["syntect"]
wasm-web = ["sys-locale?/js"]
2023-07-22 08:24:28 -07:00
warn_on_missing_glyphs = []
fontconfig = ["fontdb/fontconfig"]
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
]