Skip to content

Commit

Permalink
Merge pull request #10 from hails/feature/parse-announce-list
Browse files Browse the repository at this point in the history
torrent: add announce list
  • Loading branch information
hails authored May 25, 2019
2 parents ef4bc4f + 982f9d5 commit 497979f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/torrent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use serde_bytes::ByteBuf;
pub struct Torrent {
pub announce: String,
#[serde(rename = "announce-list")]
pub announce_list: Option<Vec<String>>,
pub announce_list: Option<Vec<Vec<String>>>,
#[serde(rename = "creation date")]
pub creation_date: i32,
pub info: Info,
Expand Down

0 comments on commit 497979f

Please sign in to comment.