toby / serde-bencode

Serde backed Bencode encoding/decoding library for Rust.
MIT License
65 stars 16 forks source link

Updated the project to latest rust #19

Closed letFunny closed 4 years ago

letFunny commented 4 years ago

The edition was updated to 2018 and all the warnings were fixed, mainly errors using the old description API instead of fmt::Display. Removed extern crate not needed in Rust 2018. Updated all the dependencies to the latest version and fixing the broken changes specially serde_bytes that changed its API.

(This is my first PR so if there is anything wrong please tell me)