Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- `Error::Zip` now wraps the `ZipError` of `zip` 9 instead of `zip` 8
- `zip` now only enables the deflate compression, which PPTX and ODP files
use. This drops the dependencies for AES, bzip2, LZMA, PPMd, Zstandard,
and Deflate64

### Security

- Upgraded `zip` from 8.6.0 to 9.0.5, which fixes the advisories
GHSA-m665-v7pm-7grj, GHSA-q7v9-x93c-xqv3, GHSA-8hxf-qr8p-62x4,
GHSA-hjqx-j4rw-g7xv, and GHSA-9hj8-73fh-9963

## [1.0.0] - 2026-07-17

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ name = "slide_elements"
path = "examples/slide_elements.rs"

[dependencies]
zip = "8.6.0"
zip = { version = "9.0.5", default-features = false, features = ["deflate"] }
quick-xml = "0.41.0"
thiserror = "2.0.18"
base64 = "0.22.1"
Expand Down
2 changes: 1 addition & 1 deletion src/container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ impl PptxContainer {

for i in 0..archive.len() {
let file = archive.by_index(i)?;
let name = file.name().to_string();
let name = file.name()?.to_string();

if name.starts_with("ppt/slides/slide") && name.ends_with(".xml") {
slide_paths.push(name);
Expand Down
Loading