Skip to content

Commit aa03267

Browse files
committed
chore: narrow tokio requirement to account for RUSTSEC-2025-0023
1 parent fa3a8db commit aa03267

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

CHANGELOG.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
88

99
## [0.4.23](https://github.com/Nullus157/async-compression/compare/v0.4.22...v0.4.23) - 2025-04-21
1010

11-
### Other
11+
### Changed
1212

13-
- *(deps)* update brotli requirement from 7.0 to 8.0
14-
- *(deps)* update liblzma requirement from 0.3.6 to 0.4.0
13+
- Update `brotli` dependency to `8.0`.
14+
- Update `liblzma` dependency to `0.4`.
1515

1616
## [0.4.22](https://github.com/Nullus157/async-compression/compare/v0.4.21...v0.4.22) - 2025-03-25
1717

18-
### Other
18+
### Added
19+
20+
- Add LZ4 encoders and decoders.
21+
- Expose `DeflateEncoder::{total_in, total_out}()` methods.
1922

20-
- Add lz4 encoder/decoder
21-
- Expose total_in/total_out in DeflateEncoder
2223

2324
## [0.4.21](https://github.com/Nullus157/async-compression/compare/v0.4.20...v0.4.21) - 2025-03-15
2425

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ zstdmt = ["zstd", "zstd-safe/zstdmt"]
3535
deflate64 = ["dep:deflate64"]
3636

3737
[dependencies]
38-
brotli = { version = "8.0", optional = true }
39-
bzip2 = { version = "0.5.0", optional = true }
38+
brotli = { version = "8", optional = true }
39+
bzip2 = { version = "0.5", optional = true }
4040
flate2 = { version = "1.0.13", optional = true }
4141
futures-core = { version = "0.3", default-features = false }
4242
futures-io = { version = "0.3", default-features = false, features = ["std"], optional = true }
@@ -56,8 +56,8 @@ futures-test = "0.3.5"
5656
ntest = "0.9"
5757
proptest = "1"
5858
proptest-derive = "0.5"
59-
rand = "0.9.0"
60-
tokio = { version = "1.24.2", default-features = false, features = ["io-util", "macros", "rt-multi-thread", "io-std"] }
59+
rand = "0.9"
60+
tokio = { version = "1.38.2", default-features = false, features = ["io-util", "macros", "rt-multi-thread", "io-std"] }
6161
tokio-util = { version = "0.7", default-features = false, features = ["io"] }
6262

6363
[[test]]

justfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
_list:
22
@just --list
33

4+
# Format project.
5+
fmt:
6+
just --unstable --fmt
7+
cargo +nightly fmt
8+
9+
# Check project.
10+
[group("lint")]
11+
check: && clippy
12+
just --unstable --fmt --check
13+
cargo +nightly fmt -- --check
14+
415
# Lint workspace with Clippy.
516
clippy:
617
cargo clippy --workspace --all-targets --no-default-features

0 commit comments

Comments
 (0)