[package]
edition = "2024"
rust-version = "1.91"
name = "xberg-libwpd"
version = "1.0.2"
authors = ["Na'aman Hirschfeld <naaman@xberg.io>"]
build = "build.rs"
links = "xberg_libwpd"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WordPerfect (.wpd) text extraction for Xberg via libwpd + librevenge, built from vendored source (MPL-2.0 arm)"
homepage = "https://xberg.io"
readme = "README.md"
keywords = [
"wordperfect",
"libwpd",
"document",
"extraction",
"bindings",
]
categories = [
"external-ffi-bindings",
"text-processing",
]
license = "MIT"
repository = "https://github.com/xberg-io/xberg"
resolver = "2"
[package.metadata.cargo-machete]
ignored = [
"cc",
"flate2",
"tar",
"sha2",
"libz-sys",
]
[lib]
name = "xberg_libwpd"
crate-type = ["lib"]
path = "src/lib.rs"
[[test]]
name = "decode"
path = "tests/decode.rs"
[[test]]
name = "ground_truth"
path = "tests/ground_truth.rs"
[dependencies.thiserror]
version = "2.0.19"
[dependencies.tracing]
version = "0.1"
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies.libz-sys]
version = "1.1"
features = ["static"]
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))'.build-dependencies.cc]
version = "1.4"
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))'.build-dependencies.flate2]
version = "1.1"
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))'.build-dependencies.sha2]
version = "0.11"
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))'.build-dependencies.tar]
version = "0.4"