-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (61 loc) · 1.79 KB
/
Cargo.toml
File metadata and controls
70 lines (61 loc) · 1.79 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[package]
name = "kas-text"
version = "0.9.3"
authors = ["Diggory Hardy <git@dhardy.name>"]
edition = "2024"
license = "Apache-2.0"
description = "Text layout and font management"
readme = "README.md"
documentation = "https://docs.rs/kas-text/"
keywords = ["text", "bidi", "shaping"]
categories = ["text-processing"]
repository = "https://github.com/kas-gui/kas-text"
exclude = ["design"]
rust-version = "1.88.0"
[package.metadata.docs.rs]
# To build locally:
# RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --no-deps --open
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
# Enable shaping with the default dependency.
shaping = ["rustybuzz"]
# Enable shaping via rustybuzz.
rustybuzz = ["dep:rustybuzz"]
# Enable Markdown parsing
markdown = ["pulldown-cmark"]
# Serialization is optionally supported for some types:
serde = ["dep:serde", "bitflags/serde"]
# Optional: expose ab_glyph font face
ab_glyph = ["dep:ab_glyph"]
[dependencies]
cfg-if = "1.0.0"
easy-cast = "0.5.0"
bitflags = "2.4.2"
ttf-parser = "0.25.1"
smallvec = "1.6.1"
tinyvec = { version = "1.9.0", features = ["alloc"] }
unicode-bidi = "0.3.4"
unicode-bidi-mirroring = "0.4.0"
thiserror = "2.0.12"
pulldown-cmark = { version = "0.13.0", optional = true }
log = "0.4"
serde = { version = "1.0.123", features = ["derive"], optional = true }
ab_glyph = { version = "0.2.10", optional = true }
swash = "0.2.4"
fontique = { version = "0.7.0", features = ["icu_properties"] }
icu_properties = "2.1.1"
icu_segmenter = "2.1.2"
[dependencies.rustybuzz]
version = "0.20.1"
optional = true
[dev-dependencies]
serde_json = "1.0"
[lints.clippy]
len_zero = "allow"
type_complexity = "allow"
unit_arg = "allow"
needless_lifetimes = "allow"
neg_cmp_op_on_partial_ord = "allow"
manual_range_contains = "allow"
manual_is_multiple_of = "allow"