[package]
edition = "2021"
rust-version = "1.75"
name = "pptx-rs2"
version = "0.5.0"
authors = ["pptx-rs contributors"]
build = false
exclude = [
"_test/",
"_test_out/",
"pyscripts/",
".trae/",
"docs/",
"examples/",
"ooxml-core/",
"_ssh_pass.bat",
"_ssh_run.ps1",
"check_*.py",
"gen_ref.py",
"debug-pptx-output-fail.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust 版本的 PowerPoint .pptx 读写库, 对标 python-pptx"
homepage = "https://github.com/WenTao-Love/pptx-rs"
documentation = "https://docs.rs/pptx-rs2"
readme = "README.md"
keywords = [
"pptx",
"powerpoint",
"office-open-xml",
"opc",
"drawingml",
]
categories = [
"parser-implementations",
"encoding",
]
license = "MIT"
repository = "https://github.com/WenTao-Love/pptx-rs"
[lib]
name = "pptx_rs"
path = "src/lib.rs"
[[test]]
name = "chart_integration"
path = "tests/chart_integration.rs"
[[test]]
name = "large_pptx"
path = "tests/large_pptx.rs"
[[test]]
name = "notes_comments_integration"
path = "tests/notes_comments_integration.rs"
[[test]]
name = "presentation_save"
path = "tests/presentation_save.rs"
[[test]]
name = "shape_integration"
path = "tests/shape_integration.rs"
[[test]]
name = "text_format_integration"
path = "tests/text_format_integration.rs"
[[bench]]
name = "large_pptx"
path = "benches/large_pptx.rs"
harness = false
[[bench]]
name = "save_pptx"
path = "benches/save_pptx.rs"
harness = false
[dependencies.aes]
version = "0.8"
[dependencies.base64]
version = "0.22"
[dependencies.cbc]
version = "0.1"
features = ["alloc"]
[dependencies.cfb]
version = "0.10"
[dependencies.hmac]
version = "0.12"
[dependencies.ooxml-core]
version = "0.1.0"
[dependencies.quick-xml]
version = "0.40"
features = ["serialize"]
[dependencies.rand]
version = "0.8"
[dependencies.sha1]
version = "0.10"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "1.0"
[dependencies.uuid]
version = "1"
[dependencies.zip]
version = "8.6"
features = ["deflate"]
default-features = false
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.tempfile]
version = "3.27"
[profile.bench]
opt-level = 3
debug = 2
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1