# 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.63.0" name = "ttf-parser" version = "0.25.1" authors = [ "Caleb Maclennan ", "Laurenz Stampfl ", "Yevhenii Reizner ", "خالد حسني (Khaled Hosny) ", ] build = false exclude = ["benches/**"] autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "A high-level, safe, zero-allocation font parser for TrueType, OpenType, and AAT." documentation = "https://docs.rs/ttf-parser/" readme = "README.md" keywords = [ "ttf", "truetype", "opentype", ] categories = ["parser-implementations"] license = "MIT OR Apache-2.0" repository = "https://github.com/harfbuzz/ttf-parser" [package.metadata.typos.default] locale = "en-us" [package.metadata.typos.default.extend-words] loca = "loca" ot = "ot" trak = "trak" wdth = "wdth" [lib] name = "ttf_parser" path = "src/lib.rs" [[example]] name = "font-info" path = "examples/font-info.rs" [[example]] name = "font2svg" path = "examples/font2svg.rs" [[test]] name = "bitmap" path = "tests/bitmap.rs" [[test]] name = "tables" path = "tests/tables/main.rs" [dependencies.core_maths] version = "0.1.0" optional = true [dev-dependencies.base64] version = "0.22.1" [dev-dependencies.pico-args] version = "0.5" [dev-dependencies.tiny-skia-path] version = "0.11.4" [dev-dependencies.xmlwriter] version = "0.1" [features] apple-layout = [] default = [ "std", "opentype-layout", "apple-layout", "variable-fonts", "glyph-names", ] glyph-names = [] gvar-alloc = ["std"] no-std-float = ["core_maths"] opentype-layout = [] std = [] variable-fonts = []