[package]
name = "sp-version"
version = "17.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "Apache-2.0"
homepage = "https://substrate.io"
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"
readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive"] }
impl-serde = { version = "0.4.0", optional = true }
parity-wasm = { version = "0.45", optional = true }
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
serde = { version = "1.0.136", features = ["derive"], optional = true }
thiserror = { version = "1.0.30", optional = true }
sp-core-hashing-proc-macro = { version = "6.0.0" }
sp-runtime = { version = "19.0.0", default-features = false}
sp-std = { version = "6.0.0", default-features = false}
sp-version-proc-macro = { version = "6.0.0", default-features = false}
[features]
default = ["std"]
std = [
"codec/std",
"impl-serde",
"parity-wasm",
"scale-info/std",
"serde",
"sp-runtime/std",
"sp-std/std",
"thiserror",
]