[package]
edition = "2024"
name = "ppt-rs"
version = "0.2.5"
authors = ["Ying Kit WONG"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Create, read, and update PowerPoint 2007+ (.pptx) files with rich formatting, bullet styles, themes, and templates."
readme = "README.md"
keywords = [
"powerpoint",
"ppt",
"pptx",
"openxml",
"office",
]
categories = [
"text-processing",
"parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/yingkitw/ppt-rs"
[features]
default = ["web2ppt"]
web2ppt = [
"reqwest",
"scraper",
"url",
]
[lib]
name = "ppt_rs"
path = "src/lib.rs"
[[bin]]
name = "pptcli"
path = "src/bin/pptcli.rs"
[[example]]
name = "advanced_charts"
path = "examples/advanced_charts.rs"
[[example]]
name = "advanced_features"
path = "examples/advanced_features.rs"
[[example]]
name = "alignment_test"
path = "examples/alignment_test.rs"
[[example]]
name = "batch_generator"
path = "examples/batch_generator.rs"
[[example]]
name = "chart_generation"
path = "examples/chart_generation.rs"
[[example]]
name = "complex_pptx"
path = "examples/complex_pptx.rs"
[[example]]
name = "comprehensive_demo"
path = "examples/comprehensive_demo.rs"
[[example]]
name = "data_driven"
path = "examples/data_driven.rs"
[[example]]
name = "dimension_demo"
path = "examples/dimension_demo.rs"
[[example]]
name = "edit_presentation"
path = "examples/edit_presentation.rs"
[[example]]
name = "image_handling"
path = "examples/image_handling.rs"
[[example]]
name = "integrated_example"
path = "examples/integrated_example.rs"
[[example]]
name = "layout_demo"
path = "examples/layout_demo.rs"
[[example]]
name = "multi_slide_presentation"
path = "examples/multi_slide_presentation.rs"
[[example]]
name = "new_elements_demo"
path = "examples/new_elements_demo.rs"
[[example]]
name = "new_features_demo"
path = "examples/new_features_demo.rs"
[[example]]
name = "proper_pptx"
path = "examples/proper_pptx.rs"
[[example]]
name = "read_pptx"
path = "examples/read_pptx.rs"
[[example]]
name = "read_presentation"
path = "examples/read_presentation.rs"
[[example]]
name = "repair_pptx"
path = "examples/repair_pptx.rs"
[[example]]
name = "report_generator"
path = "examples/report_generator.rs"
[[example]]
name = "shapes_demo"
path = "examples/shapes_demo.rs"
[[example]]
name = "simple_presentation"
path = "examples/simple_presentation.rs"
[[example]]
name = "styled_presentation"
path = "examples/styled_presentation.rs"
[[example]]
name = "table_demo"
path = "examples/table_demo.rs"
[[example]]
name = "table_generation"
path = "examples/table_generation.rs"
[[example]]
name = "table_text_formatting"
path = "examples/table_text_formatting.rs"
[[example]]
name = "templates_demo"
path = "examples/templates_demo.rs"
[[example]]
name = "test_notes"
path = "examples/test_notes.rs"
[[example]]
name = "text_styling_complete"
path = "examples/text_styling_complete.rs"
[[example]]
name = "training_material"
path = "examples/training_material.rs"
[[example]]
name = "web2ppt_demo"
path = "examples/web2ppt_demo.rs"
[[test]]
name = "advanced_features_test"
path = "tests/advanced_features_test.rs"
[[test]]
name = "api_export_test"
path = "tests/api_export_test.rs"
[[test]]
name = "chart_generation_test"
path = "tests/chart_generation_test.rs"
[[test]]
name = "chart_test"
path = "tests/chart_test.rs"
[[test]]
name = "export_html_test"
path = "tests/export_html_test.rs"
[[test]]
name = "image_enhancement_test"
path = "tests/image_enhancement_test.rs"
[[test]]
name = "image_url_test"
path = "tests/image_url_test.rs"
[[test]]
name = "image_xml_test"
path = "tests/image_xml_test.rs"
[[test]]
name = "import_merge_test"
path = "tests/import_merge_test.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "output_quality_test"
path = "tests/output_quality_test.rs"
[[test]]
name = "pptx_advanced_elements_test"
path = "tests/pptx_advanced_elements_test.rs"
[[test]]
name = "pptx_elements_test"
path = "tests/pptx_elements_test.rs"
[[test]]
name = "table_xml_test"
path = "tests/table_xml_test.rs"
[[test]]
name = "visual_polish_test"
path = "tests/visual_polish_test.rs"
[dependencies.chrono]
version = "0.4"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.pulldown-cmark]
version = "0.10"
[dependencies.regex]
version = "1.10"
[dependencies.reqwest]
version = "0.11"
features = ["blocking"]
optional = true
[dependencies.scraper]
version = "0.18"
optional = true
[dependencies.syntect]
version = "5.2"
[dependencies.thiserror]
version = "1.0"
[dependencies.url]
version = "2.5"
optional = true
[dependencies.uuid]
version = "1.0"
features = ["v4"]
[dependencies.xml-rs]
version = "0.8"
[dependencies.zip]
version = "0.6"
[dev-dependencies]
[profile.release]
opt-level = 3
lto = true