Cargo.toml 1.93 KB
Newer Older
1
2
[package]
name = "polkadot-parachain"
Gavin Wood's avatar
Gavin Wood committed
3
version = "0.8.13"
4
5
authors = ["Parity Technologies <admin@parity.io>"]
description = "Types and utilities for creating and working with parachains"
6
edition = "2018"
7
8

[dependencies]
9
10
11
12
# note: special care is taken to avoid inclusion of `sp-io` externals when compiling
# this crate for WASM. This is critical to avoid forcing all parachain WASM into implementing
# various unnecessary Substrate-specific endpoints.
codec = { package = "parity-scale-codec", version = "1.1.0", default-features = false, features = [ "derive" ] }
13
14
15
sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-wasm-interface = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
16
polkadot-core-primitives = { path = "../core-primitives", default-features = false }
17
18
19
20

# all optional crates.
derive_more = { version = "0.99.2", optional = true }
serde = { version = "1.0.102", default-features = false, features = [ "derive" ], optional = true }
21
22
23
sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
24
parking_lot = { version = "0.10.0", optional = true }
25
log = { version = "0.4.8", optional = true }
26

27
[target.'cfg(not(any(target_os = "android", target_os = "unknown")))'.dependencies]
28
shared_memory = { version = "0.10.0", optional = true }
29

30
31
[features]
default = ["std"]
32
wasm-api = []
33
34
35
36
std = [
	"codec/std",
	"derive_more",
	"serde/std",
37
	"sp-std/std",
38
	"shared_memory",
39
	"sp-core/std",
40
	"parking_lot",
41
42
43
44
	"log",
	"sp-externalities",
	"sc-executor",
	"sp-io",
45
	"polkadot-core-primitives/std",
46
]