-
Notifications
You must be signed in to change notification settings - Fork 24
/
Cargo.toml
27 lines (24 loc) · 1005 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
[package]
name = "ab_glyph"
version = "0.2.29"
authors = ["Alex Butler <alexheretic@gmail.com>"]
edition = "2021"
description = "API for loading, scaling, positioning and rasterizing OpenType font glyphs."
repository = "https://github.com/alexheretic/ab-glyph"
keywords = ["text", "ttf", "truetype", "otf", "opentype"]
license = "Apache-2.0"
readme = "README.md"
[dependencies]
owned_ttf_parser = { version = "0.25", default-features = false }
ab_glyph_rasterizer = { version = "0.1.2", path = "../rasterizer", default-features = false }
# no_std float stuff
libm = { version = "0.2.1", optional = true }
[dev-dependencies]
# don't add any, instead use ./dev
[features]
default = ["std", "variable-fonts"]
# Activates usage of std.
std = ["owned_ttf_parser/default", "ab_glyph_rasterizer/default"]
# Uses libm when not using std. This needs to be active in that case.
libm = ["dep:libm", "ab_glyph_rasterizer/libm", "owned_ttf_parser/no-std-float"]
variable-fonts = ["owned_ttf_parser/variable-fonts"]