[package]
name = "sp-version"
version = "2.0.0-rc6"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "Apache-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "Version module for the Substrate runtime; Provides a function that returns the runtime version."
documentation = "https://docs.rs/sp-version"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]


[dependencies]
impl-serde = { version = "0.3.1", optional = true }
serde = { version = "1.0.101", optional = true, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }
sp-std = { version = "2.0.0-rc6", default-features = false, path = "../std" }
sp-runtime = { version = "2.0.0-rc6", default-features = false, path = "../runtime" }

[features]
default = ["std"]
std = [
	"impl-serde",
	"serde",
	"codec/std",
	"sp-std/std",
	"sp-runtime/std",
]
