-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
106 lines (86 loc) · 2.56 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[package]
name = "rustorrent"
version = "0.1.0"
authors = ["Sebastien Chapuis <sebastien@chapu.is>"]
edition = "2018"
license-file = "LICENSE"
description = "A BitTorrent library implemented in Rust"
homepage = "https://github.com/sebastiencs/rustorrent"
documentation = "https://github.com/sebastiencs/rustorrent"
repository = "https://github.com/sebastiencs/rustorrent"
# # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
# [profile.release]
# debug = true
# # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
# [profile.bench]
# debug = true
# [profile.release]
# debug = true
[[bin]]
name = "main"
path = "src/bin/main.rs"
bench = false
# [lib]
# bench = false
# [dev-dependencies]
# criterion = "0.3"
# [[bench]]
# name = "mempool"
# harness = false
[dependencies]
# serde_bencode = "^0.2.0"
serde = { version = "1.0", features = ["derive"] }
# serde_derive = "^1.0.0"
# serde_urlencoded = "0.6"
serde_bytes = "0.11"
shared_arena = "0.8"
itertools = "0.9"
log = { version = "0.4.13", features = ["max_level_trace", "release_max_level_trace", "kv_unstable_std"] }
kv-log-macro = "1"
serde_json = "1"
chrono = "0.4"
ansi_term = "0.12"
smallvec = { version = "1.4", features = ["serde"] }
memchr = "2"
sha1 = { version = "0.6", features = ["std"] }
url = "2"
byteorder = "1"
crossbeam-channel = "0.5"
#crossbeam-deque = "0.7"
parking_lot = "0.11"
#bit_field = "0.10.0"
hashbrown = { version = "0.9", features = ["serde"] }
# https://lwn.net/Articles/347811/
coarsetime = "0.1"
num_cpus = "1"
slab = "0.4"
async-trait = "0.1"
rand = "0.7"
ahash = { version = "0.5", default-features = false }
concurrent-queue = "1.2"
fastrand = "1.4"
libc = { version = "0.2", features = ["extra_traits"] }
# libc = { version = "0.2", default-features = false }
futures = { version = "0.3", default-features = false }
#futures = "0.3"
# async-std = { version = "1", features = ["unstable"] }
# async-std = "1"
# surf = "1.0.3"
static_assertions = "1"
bitflags = "1.2"
# iou = "0.3"
fixed = { version = "1", default-features = false }
crossbeam-epoch = { version = "0.9", default-features = false }
tokio = { version = "1", features = ["full"] }
tokio-rustls = "0.22"
webpki-roots = "0.21"
webpki = "0.21"
# tokio = { version = "0.3", features = ["full"] }
# async-channel = { path = "/home/sebastien/github/async-channel" }
async-channel = "1.5"
socket2 = "0.3"
# TODO: Make it optional
# packed_simd = { version = "0.3.3" }
#packed_simd = { version = "0.3.3", features = ["into_bits"] }
[dev-dependencies]
tokio-test = "0.3"