pdfrum-cmap 0.1.0

Predefined CJK CMap tables and embedded CMap parsing
# 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-cmap"
version = "0.1.0"
build = "build.rs"
include = [
    "src/**",
    "tables/*.bin",
    "tables/*.json",
    "tables/*.md",
    "tables/*.py",
    "build.rs",
    "README*",
    "LICENSE*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Predefined CJK CMap tables and embedded CMap parsing"
readme = "README.md"
keywords = [
    "pdf",
    "cmap",
    "cjk",
    "encoding",
    "cid",
]
categories = [
    "text-processing",
    "encoding",
    "internationalization",
]
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",
]

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

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

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

[dependencies.thiserror]
version = "=2.0.20"

[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"