blob: e19312c4b356ba840502f25170d44c6d3807049d [file] [log] [blame]
# 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.7.5"
authors = ["Dylan Ede <dylanede@googlemail.com>", "Jeremy Soller <jackpot51@gmail.com>", "Alex Butler <alexheretic@gmail.com>"]
exclude = ["/fonts/**"]
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"]
[[example]]
name = "gpu_cache"
required-features = ["gpu_cache"]
[[example]]
name = "image"
[[example]]
name = "simple"
[dependencies.approx]
version = "0.3"
default-features = false
[dependencies.arrayvec]
version = "0.4"
default-features = false
[dependencies.crossbeam-deque]
version = "0.7"
optional = true
[dependencies.crossbeam-utils]
version = "0.6"
optional = true
[dependencies.linked-hash-map]
version = "0.5"
optional = true
[dependencies.num_cpus]
version = "1.0"
optional = true
[dependencies.ordered-float]
version = "1"
[dependencies.rustc-hash]
version = "1"
optional = true
[dependencies.stb_truetype]
version = "0.2.2"
[dev-dependencies.blake2]
version = "0.8"
[dev-dependencies.glium]
version = "0.23"
[dev-dependencies.image]
version = "0.21"
features = ["png_codec"]
default-features = false
[dev-dependencies.lazy_static]
version = "1"
[dev-dependencies.unicode-normalization]
version = "0.1"
[features]
bench = ["gpu_cache"]
gpu_cache = ["linked-hash-map", "rustc-hash", "crossbeam-deque", "crossbeam-utils", "num_cpus"]