# 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 = "incremental-font-transfer"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client side implementation of the Incremental Font Transfer standard (https://w3c.github.io/IFT/Overview.html)"
readme = "README.md"
categories = [
    "text-processing",
    "parsing",
    "graphics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/googlefonts/fontations"

[package.metadata.docs.rs]
all-features = true

[features]
c-brotli = ["shared-brotli-patch-decoder/c-brotli"]
cli = [
    "clap",
    "regex",
]
default = [
    "read-fonts/std",
    "c-brotli",
]
rust-brotli = ["shared-brotli-patch-decoder/rust-brotli"]

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

[[bin]]
name = "ift_extend"
path = "src/bin/ift_extend.rs"
required-features = ["cli"]

[[bin]]
name = "ift_graph"
path = "src/bin/ift_graph.rs"
required-features = ["cli"]

[[bench]]
name = "ift-benchmarks"
path = "benches/ift-benchmarks.rs"
harness = false

[dependencies.clap]
version = "4.5.4"
features = ["derive"]
optional = true

[dependencies.data-encoding]
version = "2.6.0"

[dependencies.data-encoding-macro]
version = "0.1.15"

[dependencies.font-types]
version = "0.11.2"

[dependencies.read-fonts]
version = "0.39.1"
features = ["ift"]
default-features = false

[dependencies.regex]
version = "1.11.1"
optional = true

[dependencies.shared-brotli-patch-decoder]
version = "0.1.1"
default-features = false

[dependencies.skera]
version = "0.1.2"

[dependencies.skrifa]
version = "0.42.0"
features = ["std"]
default-features = false

[dependencies.write-fonts]
version = "0.47.0"
features = ["ift"]

[dev-dependencies.brotlic]
version = "0.8.2"

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

[dev-dependencies.read-fonts]
version = "0.39.1"
default-features = false

[dev-dependencies.woff2-patched]
version = "0.4.0"
