readme correction
This commit is contained in:
parent
3cfbe3f2ff
commit
11d7f8ffb2
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
A torrent library 100% written in rust
|
A torrent library 100% written in rust
|
||||||
|
|
||||||
## Basic example
|
## Basic example
|
||||||
This is a simple on how to use this library
|
This is a simple program on how to use this library
|
||||||
This program will just download a simple torrent file with a Magnet link
|
This program will just download a simple torrent file with a Magnet link
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
|
|
@ -11,7 +11,7 @@ use std::error::Error;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
use librqbit::{http_api_client, Magnet};
|
use librqbit::Magnet;
|
||||||
use librqbit::session::{AddTorrentResponse, ListOnlyResponse, ManagedTorrentState, Session};
|
use librqbit::session::{AddTorrentResponse, ListOnlyResponse, ManagedTorrentState, Session};
|
||||||
use librqbit::spawn_utils::BlockingSpawner;
|
use librqbit::spawn_utils::BlockingSpawner;
|
||||||
use size_format::SizeFormatterBinary as SF;
|
use size_format::SizeFormatterBinary as SF;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue