# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "rusttype"
version = "0.9.2"
authors = ["Dylan Ede <dylanede@googlemail.com>", "Jeremy Soller <jackpot51@gmail.com>", "Alex Butler <alexheretic@gmail.com>"]
exclude = ["/dev/**"]
description = "A pure Rust alternative to libraries like FreeType.\n\nRustType provides an API for loading, querying and rasterising TrueType fonts.\n\nIt also provides an implementation of a dynamic GPU glyph cache for hardware font rendering.\n"
homepage = "https://gitlab.redox-os.org/redox-os/rusttype"
documentation = "https://docs.rs/rusttype"
readme = "README.md"
keywords = ["font", "truetype", "opentype", "ttf", "otf"]
license = "MIT / Apache-2.0"
repository = "https://gitlab.redox-os.org/redox-os/rusttype"
[package.metadata.docs.rs]
features = ["gpu_cache"]
[dependencies.ab_glyph_rasterizer]
version = "0.1.1"
default-features = false

[dependencies.libm]
version = "0.2.1"
optional = true
default-features = false

[dependencies.linked-hash-map]
version = "0.5"
optional = true

[dependencies.owned_ttf_parser]
version = "0.6"
default-features = false

[dependencies.rustc-hash]
version = "1"
optional = true
[dev-dependencies.approx]
version = "0.3"
default-features = false

[features]
default = ["std"]
gpu_cache = ["std", "linked-hash-map", "rustc-hash", "crossbeam-deque", "crossbeam-utils", "num_cpus"]
has-atomics = []
libm-math = ["libm", "ab_glyph_rasterizer/libm"]
std = ["has-atomics", "owned_ttf_parser/default", "ab_glyph_rasterizer/default"]
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.crossbeam-deque]
version = "0.7"
optional = true

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.crossbeam-utils]
version = "0.7"
optional = true

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.num_cpus]
version = "1.0"
optional = true
