[package]
edition = "2024"
rust-version = "1.88"
name = "easydoc-reader"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DOCX/DOC document reader for easydoc-rust"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/easy-4-rust/easydoc-rust"
[lib]
name = "easydoc_reader"
path = "src/lib.rs"
[[test]]
name = "extractor_tests"
path = "tests/extractor_tests.rs"
[[test]]
name = "fuzz_docex"
path = "tests/fuzz_docex.rs"
[[test]]
name = "mixed_structure_tests"
path = "tests/mixed_structure_tests.rs"
[[test]]
name = "sax_structure_tests"
path = "tests/sax_structure_tests.rs"
[[test]]
name = "view_mode_tests"
path = "tests/view_mode_tests.rs"
[dependencies.easydoc-core]
version = "0.1.0-alpha.2"
[dependencies.office_oxide]
version = "0.1"
[dependencies.quick-xml]
version = "0.41"
[dependencies.zip]
version = "8.6.0"
features = ["deflate"]
default-features = false
[dev-dependencies.easydoc-writer]
version = "0.1.0-alpha.2"
[dev-dependencies.proptest]
version = "1.5"
[dev-dependencies.tempfile]
version = "3.27.0"
[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
missing_errors_doc = "allow"
no_effect_underscore_binding = "allow"
too_many_lines = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
wrong_self_convention = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"