fontdb 0.9.1

A simple, in-memory font database with CSS-like queries.
Documentation
[package]
name = "fontdb"
version = "0.9.1"
authors = ["Evgeniy Reizner <razrfalcon@gmail.com>"]
edition = "2018"
description = "A simple, in-memory font database with CSS-like queries."
documentation = "https://docs.rs/fontdb/"
readme = "README.md"
repository = "https://github.com/RazrFalcon/fontdb"
license = "MIT"
keywords = ["font", "db", "css", "truetype", "ttf"]
categories = ["text-processing"]

[dependencies]
log = "0.4"
memmap2 = { version = "0.5", optional = true }
ttf-parser = "0.15"

[target.'cfg(all(unix, not(any(target_os = "macos", target_os = "android"))))'.dependencies]
fontconfig-parser = { version = "0.5", optional = true, default-features = false }

[dev-dependencies]
env_logger = { version = "0.9", default-features = false }

[features]
default = ["fs", "memmap"]
fontconfig = ["fontconfig-parser", "fs"]
fs = [] # allows local filesystem interactions
memmap = ["fs", "memmap2"] # allows font files memory mapping, greatly improves performance