chromium/third_party/rust/chromium_crates_io/vendor/skrifa-0.20.0/Cargo.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"
name = "skrifa"
version = "0.20.0"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Metadata reader and glyph scaler for OpenType fonts."
readme = "README.md"
categories = [
    "text-processing",
    "parsing",
    "graphics",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/googlefonts/fontations"

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

[dependencies.bytemuck]
version = "1.13.1"

[dependencies.core_maths]
version = "0.1"
optional = true

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

[dev-dependencies.kurbo]
version = "0.11.0"

[dev-dependencies.pretty_assertions]
version = "1.3.0"

[dev-dependencies.read-fonts]
version = "0.20.0"
features = [
    "scaler_test",
    "serde",
]

[dev-dependencies.serde]
version = "1.0"

[dev-dependencies.serde_json]
version = "1.0"

[features]
default = ["traversal"]
libm = [
    "dep:core_maths",
    "read-fonts/libm",
]
std = ["read-fonts/std"]
traversal = [
    "std",
    "read-fonts/traversal",
]