-
Notifications
You must be signed in to change notification settings - Fork 213
/
Cargo.toml
29 lines (27 loc) · 873 Bytes
/
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
[package]
name = "usvg-text-layout"
version = "0.37.0"
authors = ["Yevhenii Reizner <razrfalcon@gmail.com>"]
keywords = ["svg"]
license = "MPL-2.0"
edition = "2018"
description = "An SVG text layout implementation."
categories = ["multimedia::images"]
repository = "https://github.com/RazrFalcon/resvg"
documentation = "https://docs.rs/usvg-text-layout/"
workspace = "../.."
[dependencies]
fontdb = { version = "0.16", default-features = false }
kurbo = "0.9" # Bezier curves utils for text-on-path
log = "0.4"
rustybuzz = "0.12"
unicode-bidi = "0.3"
unicode-script = "0.5"
unicode-vo = "0.1"
usvg-tree = { path = "../usvg-tree", version = "0.37.0" }
[features]
default = ["system-fonts", "memmap-fonts"]
# Enables system fonts loading.
system-fonts = ["fontdb/fs", "fontdb/fontconfig"]
# Enables font files memmaping for faster loading.
memmap-fonts = ["fontdb/memmap"]