83 lines
1.7 KiB
TOML
83 lines
1.7 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 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 = "2018"
|
|
rust-version = "1.60"
|
|
name = "fontdb"
|
|
version = "0.16.2"
|
|
authors = ["Yevhenii Reizner <razrfalcon@gmail.com>"]
|
|
description = "A simple, in-memory font database with CSS-like queries."
|
|
documentation = "https://docs.rs/fontdb/"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"font",
|
|
"db",
|
|
"css",
|
|
"truetype",
|
|
"ttf",
|
|
]
|
|
categories = ["text-processing"]
|
|
license = "MIT"
|
|
repository = "https://github.com/RazrFalcon/fontdb"
|
|
|
|
[dependencies.log]
|
|
version = "0.4"
|
|
|
|
[dependencies.memmap2]
|
|
version = "0.9"
|
|
optional = true
|
|
|
|
[dependencies.slotmap]
|
|
version = "1.0.6"
|
|
default-features = false
|
|
|
|
[dependencies.tinyvec]
|
|
version = "1.6.0"
|
|
features = ["alloc"]
|
|
|
|
[dependencies.ttf-parser]
|
|
version = "0.20"
|
|
features = [
|
|
"opentype-layout",
|
|
"apple-layout",
|
|
"variable-fonts",
|
|
"glyph-names",
|
|
]
|
|
default-features = false
|
|
|
|
[dev-dependencies.env_logger]
|
|
version = "0.10"
|
|
default-features = false
|
|
|
|
[features]
|
|
default = [
|
|
"std",
|
|
"fs",
|
|
"memmap",
|
|
"fontconfig",
|
|
]
|
|
fontconfig = [
|
|
"fontconfig-parser",
|
|
"fs",
|
|
]
|
|
fs = ["std"]
|
|
memmap = [
|
|
"fs",
|
|
"memmap2",
|
|
]
|
|
std = ["ttf-parser/std"]
|
|
|
|
[target."cfg(all(unix, not(any(target_os = \"macos\", target_os = \"android\"))))".dependencies.fontconfig-parser]
|
|
version = "0.5"
|
|
optional = true
|
|
default-features = false
|