rust-docx 0.2.4

Rust parser, document model, and serializer for DOCX and legacy Word documents
Documentation
# 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 = "2021"
name = "rust-docx"
version = "0.2.4"
build = false
include = [
    "src/**",
    "tests/*.rs",
    "examples/*.rs",
    "README.md",
    "CHANGELOG.md",
    "third-party/**",
    "LICENSE",
    "Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust parser, document model, and serializer for DOCX and legacy Word documents"
documentation = "https://docs.rs/rust-docx"
readme = "README.md"
keywords = [
    "docx",
    "doc",
    "ooxml",
    "parser",
    "wasm",
]
categories = [
    "parser-implementations",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/extend-hq/rust-office"

[features]
default = ["native-deflate"]
native-deflate = ["dep:libdeflater"]

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

[[example]]
name = "dump_doc_meta"
path = "examples/dump_doc_meta.rs"

[[example]]
name = "dump_doc_structure"
path = "examples/dump_doc_structure.rs"

[[example]]
name = "dump_doc_text"
path = "examples/dump_doc_text.rs"

[[example]]
name = "parse_blocks"
path = "examples/parse_blocks.rs"

[[example]]
name = "sweep_doc_corpus"
path = "examples/sweep_doc_corpus.rs"

[[test]]
name = "character_scale"
path = "tests/character_scale.rs"

[[test]]
name = "chart_figure_source"
path = "tests/chart_figure_source.rs"

[[test]]
name = "control_source_preview"
path = "tests/control_source_preview.rs"

[[test]]
name = "doc_fixture"
path = "tests/doc_fixture.rs"

[[test]]
name = "document_comments"
path = "tests/document_comments.rs"

[[test]]
name = "emf_to_svg"
path = "tests/emf_to_svg.rs"

[[test]]
name = "image_paint_projection"
path = "tests/image_paint_projection.rs"

[[test]]
name = "inline_semantics"
path = "tests/inline_semantics.rs"

[[test]]
name = "paragraph_auto_spacing"
path = "tests/paragraph_auto_spacing.rs"

[[test]]
name = "paragraph_mark_run_style"
path = "tests/paragraph_mark_run_style.rs"

[[test]]
name = "revisions"
path = "tests/revisions.rs"

[[test]]
name = "sdt_content_style"
path = "tests/sdt_content_style.rs"

[[test]]
name = "serialize_paragraph_properties"
path = "tests/serialize_paragraph_properties.rs"

[[test]]
name = "table_grid_shared_merge"
path = "tests/table_grid_shared_merge.rs"

[[test]]
name = "table_grid_vmerge_regrid"
path = "tests/table_grid_vmerge_regrid.rs"

[[test]]
name = "table_no_wrap"
path = "tests/table_no_wrap.rs"

[[test]]
name = "table_style_paragraph_spacing"
path = "tests/table_style_paragraph_spacing.rs"

[[test]]
name = "word_application_defaults"
path = "tests/word_application_defaults.rs"

[[test]]
name = "word_spans"
path = "tests/word_spans.rs"

[dependencies.base64]
version = "0.22"

[dependencies.itoa]
version = "1"

[dependencies.memchr]
version = "2"

[dependencies.miniz_oxide]
version = "0.8"

[dependencies.quick-xml]
version = "0.42"

[dependencies.regex]
version = "1"
features = [
    "std",
    "perf",
    "unicode-case",
]
default-features = false

[dependencies.roxmltree]
version = "0.20"

[dependencies.rust-office-charts]
version = "=0.1.3"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.serde_bytes]
version = "0.11"

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.unicode-segmentation]
version = "=1.12.0"

[dependencies.zlib-rs]
version = "0.6.8"
features = ["std"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.arc-swap]
version = "=1.9.3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.base64-simd]
version = "=0.8.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.libdeflater]
version = "1.26.1"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rayon]
version = "=1.12.0"

[target.'cfg(target_arch = "aarch64")'.dependencies.sha2]
version = "0.10"
features = ["asm"]