office-toolkit 1.0.0

A Rust library to create, read, and modify Microsoft Office documents (Word/Excel/PowerPoint) in the modern Open XML (OOXML) format.
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 = "2024"
rust-version = "1.85"
name = "office-toolkit"
version = "1.0.0"
authors = ["Fabrice Garcia"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library to create, read, and modify Microsoft Office documents (Word/Excel/PowerPoint) in the modern Open XML (OOXML) format."
readme = "README.md"
keywords = [
    "office",
    "docx",
    "xlsx",
    "pptx",
    "ooxml",
]
categories = [
    "parser-implementations",
    "encoding",
]
license = "MIT"
repository = "https://github.com/Fab2bprog/office-toolkit"
resolver = "2"

[features]
default = ["full"]
excel = ["dep:excel-ooxml"]
full = [
    "word",
    "excel",
    "powerpoint",
]
powerpoint = ["dep:powerpoint-ooxml"]
word = ["dep:word-ooxml"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.chart]
version = "1.0.0"

[dependencies.drawing]
version = "1.0.0"
package = "drawingml"

[dependencies.excel-ooxml]
version = "1.0.0"
optional = true

[dependencies.opc]
version = "1.0.0"
package = "opc-ooxml"

[dependencies.powerpoint-ooxml]
version = "1.0.0"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.word-ooxml]
version = "1.0.0"
optional = true