Skip to content

Commit 7118627

Browse files
0.64.0
1 parent ebb3d2d commit 7118627

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
# Rust Client for the RabbitMQ HTTP API Change Log
22

3-
## v0.64.0 (in development)
3+
## v0.65.0 (in development)
44

55
No changes yet.
66

7+
## v0.64.0 (Oct 9, 2025)
8+
9+
### Bug Fixes
10+
11+
* Reintroduced `QueueOps#has_queue_ttl_arg`, which was unintentionally lost during a refactoring
12+
713
## v0.63.0 (Oct 9, 2025)
814

915
### Bug Fixes

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,25 @@ All older series have [reached End of Life](https://www.rabbitmq.com/release-inf
2121
### Blocking Client
2222

2323
```toml
24-
rabbitmq_http_client = { version = "0.63.0", features = ["core", "blocking"] }
24+
rabbitmq_http_client = { version = "0.64.0", features = ["core", "blocking"] }
2525
```
2626

2727
### Async Client
2828

2929
```toml
30-
rabbitmq_http_client = { version = "0.63.0", features = ["core", "async"] }
30+
rabbitmq_http_client = { version = "0.64.0", features = ["core", "async"] }
3131
```
3232

3333
### Blocking Client with Tabled Support
3434

3535
```toml
36-
rabbitmq_http_client = { version = "0.63.0", features = ["core", "blocking", "tabled"] }
36+
rabbitmq_http_client = { version = "0.64.0", features = ["core", "blocking", "tabled"] }
3737
```
3838

3939
### Async Client with Tabled Support
4040

4141
```toml
42-
rabbitmq_http_client = { version = "0.63.0", features = ["core", "async", "tabled"] }
42+
rabbitmq_http_client = { version = "0.64.0", features = ["core", "async", "tabled"] }
4343
```
4444

4545

src/responses/definitions.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ pub trait QueueOps {
4545
let name = self.name();
4646
name.is_empty() || name.starts_with("amq.")
4747
}
48+
49+
/// Returns true if the queue has a queue TTL (expiration) x-argument.
50+
/// See the [TTL guide](https://www.rabbitmq.com/docs/ttl) to learn more.
51+
fn has_queue_ttl_arg(&self) -> bool {
52+
self.x_arguments().contains_key(XArguments::X_EXPIRES_KEY)
53+
}
4854
}
4955

5056
pub trait OptionalArgumentSourceOps {

0 commit comments

Comments
 (0)