-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
Cargo.toml
37 lines (31 loc) · 1.1 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
[package]
name = "swash"
version = "0.2.0"
authors = ["Chad Brokaw <[email protected]>"]
edition = "2021"
description = "Font introspection, complex text shaping and glyph rendering."
license = "Apache-2.0 OR MIT"
keywords = ["font", "shape", "glyph", "text"]
categories = ["graphics", "text-processing"]
repository = "https://github.com/dfrg/swash"
homepage = "https://github.com/dfrg/swash"
readme = "README.md"
[package.metadata.docs.rs]
all-features = true
# There are no platform specific docs.
default-target = "x86_64-unknown-linux-gnu"
targets = []
[features]
default = ["std", "scale", "render"]
libm = ["dep:core_maths", "skrifa/libm", "zeno?/libm"]
std = ["skrifa/std", "zeno?/std", "yazi?/std"]
scale = ["dep:yazi", "dep:zeno"]
render = ["scale", "zeno/eval"]
[lints]
clippy.doc_markdown = "warn"
clippy.semicolon_if_nothing_returned = "warn"
[dependencies]
core_maths = { version = "0.1.0", optional = true }
yazi = { version = "0.2.1", optional = true, default-features = false }
zeno = { version = "0.3.2", optional = true, default-features = false }
skrifa = { version = "0.26.2", default-features = false }