You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 1, 2023. It is now read-only.
A [Serde](https://github.com/serde-rs/serde) backed [Bencode](https://en.wikipedia.org/wiki/Bencode)
4
4
encoding/decoding library for Rust.
5
5
6
+
Forked from: <https://github.com/toby/serde-bencode> due to inactivity in upstream repo.
7
+
6
8
## Installation
7
9
8
10
Add the following to your `Cargo.toml`:
9
11
10
12
```toml
11
13
[dependencies]
12
-
serde_bencode = "^0.2.3"
14
+
torrust-serde-bencode = "^0.2.3"
13
15
serde = "^1.0.0"
14
16
serde_derive = "^1.0.0"
15
17
```
16
18
17
19
## Usage
18
20
19
-
This is an abbreviated `.torrent` parsing example from
20
-
[examples/parse_torrent.rs](examples/parse_torrent.rs). If you compile this crate as a binary, it
21
-
will print metadata for any Torrent sent to stdin.
21
+
This is an abbreviated `.torrent` parsing example from [examples/parse_torrent.rs](examples/parse_torrent.rs). If you compile this crate as a binary, it will print metadata for any Torrent sent to stdin.
0 commit comments