forked from pop-os/cosmic-text
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
49 lines (45 loc) · 1.17 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "cosmic-text"
description = "Pure Rust multi-line text handling"
version = "0.8.0"
authors = ["Jeremy Soller <jeremy@system76.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/cosmic-text/latest/cosmic_text/"
repository = "https://github.com/pop-os/cosmic-text"
[dependencies]
fontdb = { version = "0.13.0", default-features = false }
libm = "0.2.6"
log = "0.4.17"
ouroboros = { version = "0.15.5", default-features = false }
rustybuzz = { version = "0.7.0", default-features = false, features = ["libm"] }
swash = { version = "0.1.6", optional = true }
syntect = { version = "5.0.0", optional = true }
sys-locale = { version = "0.3.0", optional = true }
unicode-linebreak = "0.1.4"
unicode-script = "0.5.5"
unicode-segmentation = "1.10.0"
rangemap = "1.2.0"
[dependencies.unicode-bidi]
version = "0.3.8"
default-features = false
features = ["hardcoded-data"]
[features]
default = ["std", "swash"]
no_std = [
"rustybuzz/libm",
]
std = [
"fontdb/memmap",
"fontdb/std",
"ouroboros/std",
"rustybuzz/std",
"sys-locale",
"unicode-bidi/std",
]
vi = ["syntect"]
wasm-web = ["sys-locale?/js"]
[workspace]
members = [
"examples/*",
]