Cargo.toml 3.03 KB
Newer Older
Gav's avatar
Gav committed
1
2
[package]
name = "polkadot-primitives"
3
version = "0.9.9"
Gav's avatar
Gav committed
4
authors = ["Parity Technologies <admin@parity.io>"]
5
edition = "2018"
Gav's avatar
Gav committed
6
7

[dependencies]
8
serde = { version = "1.0.123", optional = true, features = ["derive"] }
9
parity-scale-codec = { version = "2.0.0", default-features = false, features = ["bit-vec", "derive"] }
10
11
12
primitives = { package = "sp-core", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
application-crypto = { package = "sp-application-crypto", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
13
sp-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
14
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
15
16
17
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
Pierre Krieger's avatar
Pierre Krieger committed
18
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
19
sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
20
sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
21
sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
22
runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
23
polkadot-parachain = { path = "../parachain", default-features = false }
24
polkadot-core-primitives = { path = "../core-primitives", default-features = false }
25
trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
26
bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
27
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
28
hex-literal = "0.3.3"
29
parity-util-mem = { version = "0.10.0", default-features = false, optional = true }
30
31
thiserror = "1.0.23"

Gav's avatar
Gav committed
32
[dev-dependencies]
33
sp-serializer = { git = "https://github.com/paritytech/substrate", branch = "master" }
34
pretty_assertions = "0.7.2"
Gav's avatar
Gav committed
35
36
37
38

[features]
default = ["std"]
std = [
39
	"application-crypto/std",
40
	"parity-scale-codec/std",
41
	"primitives/std",
42
	"inherents/std",
43
	"trie/std",
44
	"sp-api/std",
45
	"sp-authority-discovery/std",
46
	"sp-consensus-slots/std",
47
	"sp-keystore",
48
	"sp-std/std",
49
	"sp-io/std",
50
	"sp-version/std",
51
	"sp-staking/std",
52
	"sp-arithmetic/std",
53
	"runtime_primitives/std",
54
	"serde",
55
	"parity-util-mem",
56
	"polkadot-parachain/std",
57
	"polkadot-core-primitives/std",
58
	"bitvec/std",
59
	"frame-system/std",
Gav's avatar
Gav committed
60
]