Cargo.toml 1.99 KiB
Newer Older
[package]
name = "polkadot-parachain"
Gavin Wood's avatar
Gavin Wood committed
version = "0.8.13"
authors = ["Parity Technologies <[email protected]>"]
description = "Types and utilities for creating and working with parachains"
# 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" ] }
Ashley Ruglys's avatar
Ashley Ruglys committed
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 }

# all optional crates.
derive_more = { version = "0.99.2", optional = true }
serde = { version = "1.0.102", default-features = false, features = [ "derive" ], optional = true }
Ashley Ruglys's avatar
Ashley Ruglys committed
sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true, default-features = false }
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 }
parking_lot = { version = "0.10.0", optional = true }
log = { version = "0.4.8", optional = true }
[target.'cfg(not(any(target_os = "android", target_os = "unknown")))'.dependencies]
shared_memory = { version = "0.10.0", optional = true }
[features]
default = ["std"]
wasm-api = ["sp-runtime-interface"]
std = [
	"codec/std",
	"derive_more",
	"serde/std",
	"sp-std/std",
	"shared_memory",
	"parking_lot",
	"log",
	"sp-runtime-interface/std",
	"sp-externalities",
	"sc-executor",
	"sp-io",