-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (42 loc) · 1.5 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# DON'T EDIT THIS!
#
# Codecrafters relies on this file being intact to run tests successfully. Any changes
# here will not reflect when CodeCrafters tests your code, and might even cause build
# failures.
#
# DON'T EDIT THIS!
[package]
name = "bittorrent-starter-rust"
version = "0.1.0"
authors = ["Codecrafters <[email protected]>"]
edition = "2021"
# DON'T EDIT THIS!
#
# Codecrafters relies on this file being intact to run tests successfully. Any changes
# here will not reflect when CodeCrafters tests your code, and might even cause build
# failures.
#
# DON'T EDIT THIS!
[dependencies]
anyhow = "1.0.68" # error handling
bytes = "1.3.0" # helps wrap responses from reqwest
clap = { version = "4.0.32", features = ["derive"] } # creating a cli
hex = "0.4.3"
regex = "1" # for regular expressions
reqwest = { version = "0.11.18", features = [
"json",
"blocking",
] } # http requests
serde = { version = "1.0.136", features = ["derive"] } # for json mangling
serde_bencode = "0.2.3" # for bencode encoding/decoding
serde_bytes = "0.11.12" # for dealing with bytes
serde_json = "1.0.105" # for json mangling
serde_urlencoded = "0.7.1" # for url encoding
sha1 = "0.10.1" # hashing
tempfile = "3" # creating temporary directories
thiserror = "1.0.38" # error handling
tokio = { version = "1.23.0", features = ["full"] } # async http requests
tokio-util = { version = "0.7.9", features = ["full"] } # async http requests
futures-core = "0.3"
futures-sink = "0.3"
futures-util = { version = "0.3", features = ["sink"] }