96 lines
1.8 KiB
TOML
96 lines
1.8 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"
|
|
rust-version = "1.75"
|
|
name = "read-fonts"
|
|
version = "0.29.3"
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Reading OpenType font files."
|
|
readme = "README.md"
|
|
categories = [
|
|
"text-processing",
|
|
"parsing",
|
|
"graphics",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/googlefonts/fontations"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = [
|
|
"libm",
|
|
"serde",
|
|
"std",
|
|
]
|
|
|
|
[features]
|
|
codegen_test = []
|
|
default = ["std"]
|
|
experimental_traverse = ["std"]
|
|
ift = []
|
|
libm = ["dep:core_maths"]
|
|
scaler_test = []
|
|
serde = [
|
|
"dep:serde",
|
|
"font-types/serde",
|
|
]
|
|
spec_next = []
|
|
std = ["font-types/std"]
|
|
|
|
[lib]
|
|
name = "read_fonts"
|
|
path = "src/lib.rs"
|
|
|
|
[[bench]]
|
|
name = "bench_helper"
|
|
path = "benches/bench_helper.rs"
|
|
|
|
[[bench]]
|
|
name = "int_set_benchmark"
|
|
path = "benches/int_set_benchmark.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "sparse_bit_set_benchmark"
|
|
path = "benches/sparse_bit_set_benchmark.rs"
|
|
harness = false
|
|
|
|
[dependencies.bytemuck]
|
|
version = "1.13.1"
|
|
|
|
[dependencies.core_maths]
|
|
version = "0.1"
|
|
optional = true
|
|
|
|
[dependencies.font-types]
|
|
version = "0.9.0"
|
|
features = ["bytemuck"]
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dev-dependencies.criterion]
|
|
version = "0.3.0"
|
|
|
|
[dev-dependencies.rand]
|
|
version = "0.8.5"
|
|
|
|
[dev-dependencies.serde_json]
|
|
version = "1.0"
|