forked from pyrsia/pyrsia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
119 lines (109 loc) · 2.81 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
119
[package]
name = "pyrsia"
readme = "readme.md"
version = "0.1.0"
edition = "2021"
description = "Prysia Node and CLI"
authors = ["pyrsiaoss <pyrsiaopensource@gmail.com>"]
license = "Apache-2"
repository = "https://github.com/pyrsia/pyrsia"
[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 = "openssl"
maintainer-scripts = "installers/debian/"
systemd-units = { unit-name = "pyrsia", unit-scripts = "installers/debian/" }
[dependencies]
signed = {path="src/signed"}
signed_struct = { path = "src/signed_struct" }
pyrsia_blockchain_network = { path = "src/blockchain" }
anyhow = "1.0.51"
async-trait = "0.1.52"
base64 = "0.13.0"
bincode = "1.3.3"
blake3 = "1.2.0"
bytes = "1.1.0"
byte-unit = { version = "4.0.13", default-features = false}
ctor = "0.1.21"
dirs = "4.0.0"
defaults = "0.2.0"
derive_builder = "0.10.2"
easy-hasher = "2.2.1"
env_logger = "0.9.0"
filename = "0.1.1"
fs_extra = "1.2.0"
futures = "0.3.17"
hex = "0.4.3"
hyper = { version = "0.14", features = ["full"] }
hyper-tls = "0.5.0"
itertools = "0.10.3"
lava_torrent = "0.5.0"
lazy_static = "1.4.0"
libp2p = { version = "0.43.0", features=["tcp-tokio"]}
log = { version = "0.4.14", features = ["max_level_trace", "release_max_level_trace"] }
maplit = "1.0.2"
num-traits = "0.2.14"
once_cell = "1.10"
pretty_env_logger = "0.4.0"
rand = "0.8.5"
reqwest = { version = "0.11.10", features = ["blocking", "json"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.78"
serial_test = "0.6.0"
sha2 = { version = "0.10.2" }
stringreader = "0.1.1"
strum = "0.24.0"
strum_macros = "0.24.0"
tempfile = "3.2.0"
test-log = "0.2.8"
thiserror = "1.0.30"
tokio = { version = "1.17.0", features = [ "macros", "rt-multi-thread", "io-std" ] }
unqlite = "1.5.0"
url = "2.2.2"
uuid = { version = "0.8.2", features = [ "v4" ] }
warp = { version = "0.3.1", default-features = false }
walkdir = "2.3.2"
multihash = {version = "0.16.1", features = ["serde-codec"]}
[dependencies.error-chain]
version = "0.12"
default-features = false
features = []
[dev-dependencies]
assay = "0.1.1"
string_manipulation = {path="tests/string_manipulation"}
tokio-test = "0.4.2"
[workspace]
members = [
"pyrsia_node",
"pyrsia_cli",
"src/signed",
"src/signed_struct",
"src/blockchain"
]
[[example]]
name = "blockchain_node_example"
path = "src/blockchain/examples/simple_node.rs"
[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