lava_torrent
lava_torrent
is a library for parsing/encoding/creating bencode and .torrent files.
Quick Start
Read a torrent (v1) and print it and its info hash.
use Torrent;
let torrent = read_from_file.unwrap;
println!;
println!;
Create a torrent (v1) from files in a directory and save the .torrent file.
use TorrentBuilder;
let torrent = new.build.unwrap;
torrent.write_into_file.unwrap;
More Info
Please check the documentation.
License: MIT OR Apache-2.0