docparser-epub 0.1.0

docparser EPUB 后端:container/OPF/spine 结构解析,每章复用 HTML 块解析(标题/段落/列表/表格)
Documentation
[package]

name = "docparser-epub"

description = "docparser EPUB 后端:container/OPF/spine 结构解析,每章复用 HTML 块解析(标题/段落/列表/表格)"

keywords = ["epub", "ebook", "document", "parser", "xhtml"]

categories = ["parser-implementations", "text-processing"]

readme = "README.md"

version.workspace = true

edition.workspace = true

license.workspace = true

authors.workspace = true

repository.workspace = true

homepage.workspace = true



[lib]

name = "docparser_epub"



[dependencies]

# 每章复用 core 的 HTML 块解析:必须显式打开 core 的 `html` feature,

# 否则 `--no-default-features` 引用 core 时会把带进来的解析器裁掉。

docparser-core = { workspace = true, features = ["html"] }

# 与 docparser-office 同版本:zip 2 / quick-xml 0.37 有 RUSTSEC 漏洞(见 rust/PUBLISHING.md)

zip = { version = "9", default-features = false, features = ["deflate-flate2-zlib-rs"] }

quick-xml = "0.42"



[package.metadata.docs.rs]

all-features = true