typg-core 5.0.13

Core search/discovery engine for typg (made by FontLab https://www.fontlab.com/)
Documentation
# 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 = "typg-core"
version = "5.0.13"
authors = ["FontLab"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core search/discovery engine for typg (made by FontLab https://www.fontlab.com/)"
homepage = "https://www.fontlab.com/"
readme = false
license = "MIT"
repository = "https://github.com/fontlaborg/typg"

[features]
default = ["fontations"]
fontations = [
    "read-fonts",
    "skrifa",
]
hpindex = [
    "heed",
    "roaring",
    "bytemuck",
    "xxhash-rust",
    "bincode",
    "byteorder",
]
typf-fontdb = []

[lib]
name = "typg_core"
path = "src/lib.rs"

[[test]]
name = "cached_search"
path = "tests/cached_search.rs"

[[test]]
name = "discovery"
path = "tests/discovery.rs"

[[test]]
name = "metadata_names"
path = "tests/metadata_names.rs"

[[test]]
name = "output"
path = "tests/output.rs"

[[test]]
name = "query_parser"
path = "tests/query_parser.rs"

[[test]]
name = "search_filters"
path = "tests/search_filters.rs"

[[bench]]
name = "cache_vs_index"
path = "benches/cache_vs_index.rs"
harness = false
required-features = ["hpindex"]

[dependencies.anyhow]
version = "1.0"

[dependencies.bincode]
version = "1.3"
optional = true

[dependencies.bytemuck]
version = "1.18"
features = ["derive"]
optional = true

[dependencies.byteorder]
version = "1.5"
optional = true

[dependencies.heed]
version = "0.21"
optional = true

[dependencies.rayon]
version = "1.10"

[dependencies.read-fonts]
version = "0.39.1"
optional = true

[dependencies.regex]
version = "1.11"

[dependencies.roaring]
version = "0.10"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.skrifa]
version = "0.42.0"
optional = true

[dependencies.walkdir]
version = "2.5.0"

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]
optional = true

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.proptest]
version = "1.5"

[dev-dependencies.tempfile]
version = "3.10"