# 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 = "read-fonts"
version = "0.20.0"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reading OpenType font files."
readme = "README.md"
categories = [
"text-processing",
"parsing",
"graphics",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/googlefonts/fontations"
[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.6.0"
features = ["bytemuck"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dev-dependencies.criterion]
version = "0.5.1"
[dev-dependencies.rand]
version = "0.8.5"
[features]
codegen_test = []
default = ["traversal"]
libm = ["dep:core_maths"]
scaler_test = []
serde = [
"dep:serde",
"font-types/serde",
]
std = ["font-types/std"]
traversal = ["std"]