Skip to content

Commit e1152c1

Browse files
gyscosclaude
andcommitted
Bump versions for the next release
zstd-sys 2.1.0: bindgen is no longer a default feature (#371), and the cmake and vendored features are new. zstd-safe 8.0.0: ref_cdict() and ref_ddict() now borrow the dictionary for as long as the context, and the block API is unsafe. Both are breaking, and the first is not behind a feature flag. zstd 0.14.0: with_prepared_dictionary() borrows the dictionary for as long as the stream, Decoder::finish() consumes the rest of the frame, and read() with an empty buffer returns Ok(0) instead of an error. Raise the dependency requirements to match: the crates forward the new cmake and vendored features, so resolving to an older zstd-safe or zstd-sys would fail with "feature does not exist". Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TeZDBS4Uw5kdF77tkJ7cAe
1 parent 7caed6e commit e1152c1

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎Cargo.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ categories = ["compression", "api-bindings"]
77
license = "BSD-3-Clause"
88
name = "zstd"
99
repository = "https://github.com/gyscos/zstd-rs"
10-
version = "0.13.3"
10+
version = "0.14.0"
1111
exclude = ["assets/*.zst", "/.github"]
1212
readme = "Readme.md"
1313
edition = "2018"
@@ -20,7 +20,7 @@ features = ["experimental", "zstdmt", "zdict_builder", "doc-cfg"]
2020
travis-ci = { repository = "gyscos/zstd-rs" }
2121

2222
[dependencies]
23-
zstd-safe = { path = "zstd-safe", version = "7.1.0", default-features = false, features = ["std"] }
23+
zstd-safe = { path = "zstd-safe", version = "8.0.0", default-features = false, features = ["std"] }
2424

2525
[dev-dependencies]
2626
clap = {version = "4.0", features=["derive"]}

‎Readme.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $ cargo add zstd
2323
# Cargo.toml
2424

2525
[dependencies]
26-
zstd = "0.13"
26+
zstd = "0.14"
2727
```
2828

2929
## 2 - Usage

‎zstd-safe/Cargo.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
authors = ["Alexandre Bury <[email protected]>"]
33
name = "zstd-safe"
44
build = "build.rs"
5-
version = "7.3.0"
5+
version = "8.0.0"
66
description = "Safe low-level bindings for the zstd compression library."
77
keywords = ["zstd", "zstandard", "compression"]
88
categories = ["api-bindings", "compression"]
@@ -17,7 +17,7 @@ exclude = ["update_consts.sh"]
1717
features = ["experimental", "arrays", "std", "zdict_builder", "doc-cfg"]
1818

1919
[dependencies]
20-
zstd-sys = { path = "zstd-sys", version = "2.0.15", default-features = false }
20+
zstd-sys = { path = "zstd-sys", version = "2.1.0", default-features = false }
2121

2222
[features]
2323
default = ["legacy", "arrays", "zdict_builder"]

‎zstd-safe/zstd-sys/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ links = "zstd"
1616
name = "zstd-sys"
1717
readme = "Readme.md"
1818
repository = "https://github.com/gyscos/zstd-rs"
19-
version = "2.0.16+zstd.1.5.7"
19+
version = "2.1.0+zstd.1.5.7"
2020
edition = "2018"
2121
rust-version = "1.64"
2222

0 commit comments

Comments
 (0)