Update docs, cleanup for 4.0.0 release
This commit is contained in:
parent
3160f06f65
commit
006d83d6a7
29 changed files with 206 additions and 116 deletions
|
|
@ -6,7 +6,7 @@
|
|||
use std::time::Duration;
|
||||
|
||||
use anyhow::Context;
|
||||
use librqbit::session::{AddTorrent, AddTorrentOptions, AddTorrentResponse, Session};
|
||||
use librqbit::{AddTorrent, AddTorrentOptions, AddTorrentResponse, Session};
|
||||
use tracing::info;
|
||||
|
||||
// This is ubuntu-21.04-live-server-amd64.iso.torrent
|
||||
|
|
@ -27,7 +27,7 @@ async fn main() -> Result<(), anyhow::Error> {
|
|||
.expect("the first argument should be the output directory");
|
||||
|
||||
// Create the session
|
||||
let session = Session::new(output_dir.into(), Default::default())
|
||||
let session = Session::new(output_dir.into())
|
||||
.await
|
||||
.context("error creating session")?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue