| Crates.io | qbit-rs |
| lib.rs | qbit-rs |
| version | 0.4.7 |
| created_at | 2023-04-10 05:03:57.857558+00 |
| updated_at | 2025-08-12 21:45:46.845195+00 |
| description | A Rust library for interacting with qBittorrent's Web API |
| homepage | https://github.com/George-Miao/qbit |
| repository | https://github.com/George-Miao/qbit |
| max_upload_size | |
| id | 834841 |
| size | 180,201 |
A Rust library for interacting with qBittorrent's Web API.
Implemented according to WebUI API (qBittorrent 4.1).
Add dependency by running:
cargo add qbit-rs
or manually add to Cargo.toml:
[dependencies]
qbit-rs = "0.4"
Then use it in your code:
use qbit_rs::Qbit;
use qbit_rs::model::Credential;
let credential = Credential::new("username", "password");
let api = Qbit::new("http://my-qb-instance.domain", credential);
let torrents = api.get_version().await;
or use the builder pattern:
use qbit_rs::Qbit;
let api = Qbit::builder()
.endpoint("http://my-qb-instance.domain")
.cookie("SID=1234567890")
.build();
let torrents = api.get_version().await;
For more methods, see Qbit.
Most of the API is covered, except RSS and Search. PR is welcomed if you need that part of the API. The following is a list of the implementation status: