65 lines
1.9 KiB
TOML
65 lines
1.9 KiB
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 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.9"
|
|
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.rusttype_next]
|
|
version = "0.8"
|
|
package = "rusttype"
|
|
[dev-dependencies.arrayvec]
|
|
version = "0.4"
|
|
default-features = false
|
|
|
|
[dev-dependencies.blake2]
|
|
version = "0.8"
|
|
|
|
[dev-dependencies.glium]
|
|
version = "0.25"
|
|
|
|
[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 = ["rusttype_next/gpu_cache"]
|