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