forked from pyrsia/pyrsia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
118 lines (109 loc) · 2.99 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
109
110
111
112
113
114
115
116
117
118
[package]
name = "pyrsia"
readme = "readme.md"
version = "0.2.5"
edition = "2021"
description = "Pyrsia Node and CLI"
authors = ["pyrsiaoss <[email protected]>"]
license = "Apache-2"
repository = "https://github.com/pyrsia/pyrsia"
rust-version = "1.66.1"
[package.metadata.deb]
assets = [
["target/release/pyrsia_node", "usr/bin/", "755"],
["target/release/pyrsia", "usr/bin/", "755"],
["readme.md", "usr/share/doc/pyrsia/README", "644"]
]
section = "devel"
depends = "jq" # jq is needed to update the /etc/docker/daemon.json file
maintainer-scripts = "installers/debian/"
systemd-units = { unit-name = "pyrsia", unit-scripts = "installers/debian/" }
[dependencies]
pyrsia_blockchain_network = { path = "src/blockchain" }
anyhow = "1.0.69"
async-trait = "0.1.64"
base64 = "0.21.0"
bincode = "1.3.3"
blake3 = "1.3.3"
bytes = "1.4.0"
byte-unit = { version = "4.0.18", default-features = false}
confy = "0.5.1"
csv = "1.1.6"
ctor = "0.1.26"
dirs = "4.0.0"
defaults = "0.2.0"
derive_builder = "0.12.0"
env_logger = "0.10.0"
filename = "0.1.1"
fs_extra = "1.2.0"
futures = "0.3.26"
hex = "0.4.3"
hyper = { version = "0.14", features = ["full"] }
if-watch = "3.0.0"
itertools = "0.10.5"
lazy_static = "1.4.0"
libp2p = { version = "0.50.0", features = [ "autonat", "dns", "identify", "floodsub", "gossipsub", "kad", "macros", "mplex", "noise", "request-response", "serde", "tcp", "tokio", "yamux" ]}
log = { version = "0.4.17", features = ["max_level_trace", "release_max_level_trace"] }
maplit = "1.0.2"
multihash = {version = "0.16.0", features = ["serde-codec"]}
num-traits = "0.2.15"
once_cell = "1.17"
pin-utils = "0.1.0"
pretty_env_logger = "0.4.0"
rand = "0.8.5"
regex = "1.7.1"
reqwest = { version = "0.11.14", features = ["blocking", "json", "rustls-tls"], default-features = false}
rusqlite = { version = "0.28.0", features = ["bundled"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.93"
serial_test = "0.10.0"
sha2 = { version = "0.10.6" }
stringreader = "0.1.1"
strum = "0.24.1"
strum_macros = "0.24.3"
sysinfo = "0.27.7"
test-log = "0.2.8"
thiserror = "1.0.35"
tokio = { version = "1.24.2", features = [ "macros", "rt-multi-thread", "io-std" ] }
tokio-stream = "0.1.11"
toml = "0.7.2"
url = "2.3.1"
uuid = { version = "1.3.0", features = [ "v4" ] }
warp = { version = "0.3.3", default-features = false }
walkdir = "2.3.2"
[dependencies.error-chain]
version = "0.12"
default-features = false
features = []
[dev-dependencies]
httptest = "0.15.4"
tempfile = "3.2.0"
time = { version = "0.3.17", features = ["formatting", "parsing"] }
tokio-test = "0.4.2"
[workspace]
members = [
"pyrsia_node",
"pyrsia_cli",
"src/blockchain"
]
[profile.dev]
opt-level = 0
debug = true
debug-assertions = true
overflow-checks = true
lto = false
panic = 'unwind'
incremental = true
codegen-units = 256
rpath = false
[profile.release]
opt-level = 3
debug = false
debug-assertions = false
overflow-checks = false
lto = false
panic = 'unwind'
incremental = false
codegen-units = 16
rpath = false
strip = true