56 lines
1.3 KiB
TOML
56 lines
1.3 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
name = "ab_glyph"
|
|
version = "0.2.23"
|
|
authors = ["Alex Butler <alexheretic@gmail.com>"]
|
|
description = "API for loading, scaling, positioning and rasterizing OpenType font glyphs."
|
|
readme = "README.md"
|
|
keywords = [
|
|
"text",
|
|
"ttf",
|
|
"truetype",
|
|
"otf",
|
|
"opentype",
|
|
]
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/alexheretic/ab-glyph"
|
|
|
|
[dependencies.ab_glyph_rasterizer]
|
|
version = "0.1.2"
|
|
default-features = false
|
|
|
|
[dependencies.libm]
|
|
version = "0.2.1"
|
|
optional = true
|
|
|
|
[dependencies.owned_ttf_parser]
|
|
version = "0.20"
|
|
default-features = false
|
|
|
|
[dev-dependencies]
|
|
|
|
[features]
|
|
default = [
|
|
"std",
|
|
"variable-fonts",
|
|
]
|
|
libm = [
|
|
"dep:libm",
|
|
"ab_glyph_rasterizer/libm",
|
|
]
|
|
std = [
|
|
"owned_ttf_parser/default",
|
|
"ab_glyph_rasterizer/default",
|
|
]
|
|
variable-fonts = ["owned_ttf_parser/variable-fonts"]
|