pdfrum-font 0.1.1

PDF font dictionaries, encodings, glyph mapping and outlines
Documentation
# 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 = "2024"
rust-version = "1.92"
name = "pdfrum-font"
version = "0.1.1"
build = false
include = [
    "src/**",
    "fontdata/*.cff",
    "fontdata/*.pfb",
    "fontdata/*.md",
    "fontdata/*.py",
    "tests/*.rs",
    "tests/fixtures/*.ttf",
    "tests/fixtures/*.md",
    "tests/fixtures/*.py",
    "README*",
    "LICENSE*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PDF font dictionaries, encodings, glyph mapping and outlines"
readme = "README.md"
keywords = [
    "pdf",
    "font",
    "glyph",
    "encoding",
    "opentype",
]
categories = [
    "graphics",
    "text-processing",
    "parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/PoHsuanLai/pdfrum"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
system-fonts = ["dep:fontdb"]

[lib]
name = "pdfrum_font"
path = "src/lib.rs"

[[test]]
name = "corpus"
path = "tests/corpus.rs"

[dependencies.pdfrum-cmap]
version = "0.1.1"

[dependencies.pdfrum-common]
version = "0.1.1"

[dependencies.pdfrum-filters]
version = "0.1.1"

[dependencies.pdfrum-object]
version = "0.1.1"

[dependencies.pdfrum-type1]
version = "0.1.1"

[dependencies.read-fonts]
version = "=0.43.3"
features = ["agl"]

[dependencies.skrifa]
version = "=0.46.2"

[dependencies.smallvec]
version = "=1.16.0"

[dependencies.thiserror]
version = "=2.0.20"

[dev-dependencies.pdfrum-parser]
version = "0.1.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.fontdb]
version = "=0.24.0"
features = [
    "fs",
    "memmap",
    "fontconfig",
]
optional = true
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.fontdb]
version = "=0.24.0"
optional = true
default-features = false

[lints.clippy]
expect_used = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
unwrap_used = "deny"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"