[package]
name = "sp-version"
version = "22.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", default-features = false, optional = true }
parity-wasm = { version = "0.45", optional = true }
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.136", default-features = false, features = ["derive", "alloc"], optional = true }
thiserror = { version = "1.0.30", optional = true }
sp-core-hashing-proc-macro = { version = "9.0.0", path = "../core/hashing/proc-macro" }
sp-runtime = { version = "24.0.0", default-features = false, path = "../runtime" }
sp-std = { version = "8.0.0", default-features = false, path = "../std" }
sp-version-proc-macro = { version = "8.0.0", default-features = false, path = "proc-macro" }
[features]
default = ["std"]
std = [
"codec/std",
"impl-serde/std",
"parity-wasm",
"scale-info/std",
"serde/std",
"sp-runtime/std",
"sp-std/std",
"thiserror",
]
serde = [
"dep:serde",
"impl-serde",
"sp-runtime/serde",
]