This repository has been archived by the owner on Mar 8, 2022. It is now read-only.
forked from Luminarys/synapse
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
108 lines (95 loc) · 2.18 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
107
108
[package]
name = "synapse-bt"
readme = "README.md"
description = "Synapse BitTorrent client"
version = "1.0.0"
authors = ["Luminarys <[email protected]>"]
build = "build.rs"
license = "ISC"
repository = "https://github.com/pyrsia/synapse"
edition = "2018"
[[bin]]
path = "src/main.rs"
name = "synapse"
[workspace]
members = ["sycli", "rpc", "session", "bencode", "adns", "protocol", "sstream"]
exclude = ["synulator"]
[build-dependencies]
cc = "1.0"
[dependencies]
base32 = "0.3.1"
base64 = "0.9.2"
bincode = "1"
byteorder = "1"
fnv = "1"
fs_extra = "1"
httparse = "1"
http-range = "0.1"
lazy_static = "1"
libc = "0.2"
metrohash = "1"
net2 = "0.2"
nix = "0.11"
percent-encoding = "2.1.0"
rand = "0.5.3"
rustls = "0.18.0"
sha-1 = "0.9.1"
serde = "1"
serde_derive = "1"
serde_json = "1"
shellexpand = "1"
synapse-rpc = { path = "rpc" }
synapse-session = { path = "session" }
synapse-bencode = { path = "bencode" }
synapse-protocol = { path = "protocol" }
sstream = { path = "sstream" }
adns = { path = "adns" }
toml = "0.4"
url = "2.2.2"
getopts = "0.2"
assert_matches = "1.3.0"
ctrlc = "3.1"
fs2 = "0.4"
[dependencies.amy]
version = "0.10"
default-features = false
features = ["no_timerfd"]
[dependencies.time]
version = "0.3.6"
default-features = false
features = ["formatting", "parsing", "serde"]
[dependencies.error-chain]
version = "0.12.1"
default-features = false
features = []
[dependencies.num-bigint]
version = "0.2.0"
default-features = false
features = ["serde", "std"]
[dev-dependencies]
platina = "0.1.0"
[profile.bench]
opt-level = 3
debug = true
debug-assertions = true
[profile.release]
opt-level = 3
debug = true
debug-assertions = false
panic = 'unwind'
[features]
default = []
autobahn = []
allocator = []
mmap = []
[package.metadata.deb]
assets = [
["target/release/synapse", "usr/bin/", "755"],
["target/release/sycli", "usr/bin/", "755"],
["README.md", "usr/share/doc/synapse/README", "644"],
["example_config.toml", "usr/local/share/synapse/synapse.toml", "644"],
["sycli_config.toml", "usr/local/share/synapse/sycli.toml", "644"]
]
section = "devel"
maintainer-scripts = "installers/debian/"
systemd-units = { unit-name = "synapse-bt", unit-scripts = "installers/debian/" }