Cargo.toml 1.16 KiB
Newer Older
[package]
name = "polkadot-primitives"
version = "0.1.0"
authors = ["Parity Technologies <[email protected]>"]

[dependencies]
serde = { version = "1.0", default-features = false }
serde_derive = { version = "1.0", optional = true }
parity-codec = { version = "3.0", default-features = false }
parity-codec-derive = { version = "3.0", default-features = false }
substrate-primitives = { git = "https://github.com/paritytech/substrate", default-features = false }
substrate-client = { git = "https://github.com/paritytech/substrate", default-features = false }
sr-version = { git = "https://github.com/paritytech/substrate", default-features = false }
sr-std = { git = "https://github.com/paritytech/substrate", default-features = false }
sr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false }

[dev-dependencies]
substrate-serializer = { git = "https://github.com/paritytech/substrate" }
pretty_assertions = "0.5.1"

[features]
default = ["std"]
std = [
	"parity-codec-derive/std",
	"substrate-primitives/std",
	"substrate-client/std",
	"sr-version/std",
	"sr-primitives/std",
	"serde_derive",
	"serde/std",
]