-
Notifications
You must be signed in to change notification settings - Fork 37
/
Cargo.toml
40 lines (36 loc) · 1.54 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
[package]
name = "p2p-loader"
version = "0.1.0"
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
edition = "2018"
publish = false
[features]
default = []
git = ["git2", "notify", "openssl-sys"]
[dependencies]
base64 = { version = "0.13.0", default-features = false, features = ["alloc"] }
blake3 = { version = "1.3.1", default-features = false }
bs58 = "0.4.0"
futures = "0.3"
git2 = { version = "0.13.25", optional = true }
libp2p = { version = "0.23.0", default-features = false, features = ["kad", "noise", "yamux"] }
log = "0.4"
notify = { version = "4.0.17", optional = true }
# openssl-sys is not used directly, but we want to pass the "vendored" feature
openssl-sys = { version = "0.9.72", features = ["vendored"], optional = true }
parity-scale-codec = "1.3.6"
structopt = "0.3.26"
tempdir = "0.3.7"
walkdir = "2.3.2"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
env_logger = "0.9.0"
libp2p-tcp = { version = "0.20.0", default-features = false, features = ["async-std"] }
# TODO: use the version below once cargo has fixed the associated bug
#libp2p = { version = "0.21.1", default-features = false, features = ["tcp"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
redshirt-interface-interface = { path = "../../interfaces/interface" }
redshirt-loader-interface = { path = "../../interfaces/loader" }
redshirt-log-interface = { path = "../../interfaces/log" }
redshirt-syscalls = { path = "../../interfaces/syscalls" }
redshirt-tcp-interface = { path = "../../interfaces/tcp" }
redshirt-time-interface = { path = "../../interfaces/time" }