# 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 = "diffenator3-lib"
version = "1.1.4"
authors = ["The Diffenator3 Authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A font comparison tool that will not stop until your fonts are exhaustively compared"
homepage = "https://github.com/googlefonts/diffenator3"
readme = false
license = "Apache-2.0"
repository = "https://github.com/googlefonts/diffenator3"

[features]
html = [
    "dep:tera",
    "dep:homedir",
    "dep:walkdir",
]
typescript = ["dep:typescript-type-def"]

[lib]
name = "diffenator3_lib"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[dependencies.ab_glyph]
version = "0.2.21"

[dependencies.ab_glyph_rasterizer]
version = "0.1.8"

[dependencies.brotli]
version = "6.0.0"

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.harfrust]
version = "0.3.1"

[dependencies.homedir]
version = "0.3.3"
optional = true

[dependencies.image]
version = "0.24.6"
default-features = false

[dependencies.indexmap]
version = "1.9.3"

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.log]
version = "0.4"

[dependencies.read-fonts]
version = "0.35.0"
features = [
    "serde",
    "experimental_traverse",
]

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

[dependencies.serde_json]
version = "1.0.96"
features = ["preserve_order"]

[dependencies.skrifa]
version = "0.37.0"

[dependencies.static-lang-word-lists]
version = "0.3.0"
features = ["rayon"]

[dependencies.tera]
version = "1"
optional = true

[dependencies.tiny-skia]
version = "0.12"

[dependencies.ttj]
version = "1"

[dependencies.typescript-type-def]
version = "0.5.13"
features = ["json_value"]
optional = true

[dependencies.ucd]
version = "0.1.1"

[dependencies.unicode_names2]
version = "0.6.0"

[dependencies.walkdir]
version = "2.5.0"
optional = true

[dependencies.zeno]
version = "0.3.1"

[target.'cfg(not(target_family = "wasm"))'.dependencies.indicatif]
version = "0.18.0"
features = ["rayon"]

[target.'cfg(not(target_family = "wasm"))'.dependencies.rayon]
version = "1.11.0"

[target.'cfg(not(target_family = "wasm"))'.dependencies.thread_local]
version = "1.1"
