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
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ jobs:
strategy:
matrix:
version:
- qbt: 5.1.2
libtorrent: 2.0.11
- qbt: 5.2.1
libtorrent: 2.0.12
- qbt: 5.1.4
libtorrent: 2.0.12
- qbt: 5.0.5
libtorrent: 2.0.11
# Broken because of field renaming in API since v5.0
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ for torrent in client.list().await? {
```
## Supported backends

- [x] QBittorrent (v5.0.x, v5.1.x)
- [x] QBittorrent (v5.0.x, v5.1.x, v5.2.x)
- [ ] Transmission

### qBittorrent notes

Only the following qBittorrent releases are supported and tested in CI:

- v5.2.1 (25 May 2026)
- v5.1.2 (2 July 2025)
- v5.0.5 (13 April 2025)

Expand Down
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@
//! ```
//! # Supported backends
//!
//! - [x] QBittorrent (v5.0.x, v5.1.x)
//! - [x] QBittorrent (v5.0.x, v5.1.x, v5.2.x)
//! - [ ] Transmission
//!
//! ## qBittorrent notes
//!
//! Only the following qBittorrent releases are supported and tested in CI:
//!
//! - v5.2.1 (25 May 2026)
//! - v5.1.2 (2 July 2025)
//! - v5.0.5 (13 April 2025)
//!
Expand Down
10 changes: 10 additions & 0 deletions tests/qbittorrent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,13 @@ async fn magnet_v1() -> Result<(), ApiError> {

Ok(())
}

#[tokio::test]
async fn version() -> Result<(), ApiError> {
let api = client().await;
let version = api.qbittorrent_version().await?;
assert!(
version.starts_with("v5.0") || version.starts_with("v5.1") || version.starts_with("v5.2")
);
Ok(())
}
Loading