forked from paritytech/substrate-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
82 lines (76 loc) · 3.98 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
[package]
name = "substrate-archive"
version = "0.5.0-pre"
authors = ["Andrew Plaza <andrew.plaza@parity.io>"]
edition = "2018"
[dependencies]
# external
log = "0.4"
futures = { version = "0.3" }
fdlimit = "0.2"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde-aux = "0.6.1"
dirs = { version = "3", package = "directories" }
sqlx = { version = "0.4.0-beta.1", default-features = false, features = ["postgres", "macros", "runtime-async-std", "migrate", "json"] }
async-trait = "0.1"
hex = "0.4"
itertools = "0.9"
# 0.7.2 introduces breaking changes with Send/Sync bounds
flume = "0.7"
parking_lot = "0.10"
parity-util-mem = "0.7"
hashbrown = { version = "0.8", features = ["inline-more"] }
thiserror = "1.0"
rayon = "1.4"
num_cpus = "1"
xtra = { version = "0.5.0-beta.4", features = ["with-smol-0_3"] }
# Just a simple wrapper around std::thread that `joins on drop`
jod-thread = "0.1.2"
smol = { version = "0.3" }
coil = { git = "https://github.com/insipx/coil", package = "coil"}
rmp-serde = "0.14"
# Optional
fern = { version = "0.6", features = ["colored"], optional = true }
chrono = { version = "0.4", optional = true }
# Parity
primitive-types = "0.7"
kvdb = "0.7"
kvdb-rocksdb = "0.9"
codec = { package = "parity-scale-codec", version = "1.3", default-features = false, features = ["derive", "full"] }
hash-db = "0.15"
# Substrate
sp-database = { git = "https://github.com/paritytech/substrate", package="sp-database" , rev = "647ad15565d7c35ecf00b73b12cccad9858780b9" }
sp-storage = { git = "https://github.com/paritytech/substrate", package = "sp-storage" , rev = "647ad15565d7c35ecf00b73b12cccad9858780b9" }
sp-externalities = { git = "https://github.com/paritytech/substrate", package = "sp-externalities" , rev = "647ad15565d7c35ecf00b73b12cccad9858780b9" }
sp-runtime = { git = "https://github.com/paritytech/substrate", package = "sp-runtime" , rev = "647ad15565d7c35ecf00b73b12cccad9858780b9" }
sc-client-api = { git = "https://github.com/paritytech/substrate", package = "sc-client-api" , rev = "647ad15565d7c35ecf00b73b12cccad9858780b9" }
sp-blockchain = { git = "https://github.com/paritytech/substrate", package = "sp-blockchain" , rev = "647ad15565d7c35ecf00b73b12cccad9858780b9" }
sp-core = { git = "https://github.com/paritytech/substrate", package = "sp-core" , rev = "647ad15565d7c35ecf00b73b12cccad9858780b9" }
sp-api = { git = "https://github.com/paritytech/substrate", package = "sp-api" , rev = "647ad15565d7c35ecf00b73b12cccad9858780b9" }
sp-block-builder = { git = "https://github.com/paritytech/substrate", package = "sp-block-builder" , rev = "647ad15565d7c35ecf00b73b12cccad9858780b9" }
sp-version = { git = "https://github.com/paritytech/substrate", package = "sp-version" , rev = "647ad15565d7c35ecf00b73b12cccad9858780b9" }
sc-executor = { git = "https://github.com/paritytech/substrate", package = "sc-executor" , rev = "647ad15565d7c35ecf00b73b12cccad9858780b9" }
sc-chain-spec = { git = "https://github.com/paritytech/substrate", package = "sc-chain-spec" , rev = "647ad15565d7c35ecf00b73b12cccad9858780b9" }
sp-trie = { git = "https://github.com/paritytech/substrate", package = "sp-trie" , rev = "647ad15565d7c35ecf00b73b12cccad9858780b9" }
sp-state-machine = { git = "https://github.com/paritytech/substrate", package = "sp-state-machine" , rev = "647ad15565d7c35ecf00b73b12cccad9858780b9" }
sp-io = { git = "https://github.com/paritytech/substrate", package = "sp-io" , rev = "647ad15565d7c35ecf00b73b12cccad9858780b9" }
itoa = "0.4.6"
include_dir = "0.6.0"
tempfile = "3.1.0"
async-executor = "0.1.2"
arc-swap = "0.4.7"
[dev-dependencies]
# desub-extras = { path = "../desub/extras/", package="desub-extras", features = ["polkadot"] }
polkadot-service = { package = "polkadot-service", git = "https://github.com/insipx/polkadot", branch = "substrate-archive" }
pretty_env_logger = "0.4.0"
# used in tests for storing test data on disk
flate2 = "1.0"
bincode = "1.3"
tempfile = "3.1"
once_cell = "1.4.1"
dotenv = "0.15.0"
[features]
default = ["logging"]
logging = ["chrono", "fern"]
test_rocksdb = []