sp-version 26.0.0

Version module for the Substrate runtime; Provides a function that returns the runtime version.
Documentation
[package]
name = "sp-version"
version = "26.0.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
homepage = "https://substrate.io"
repository.workspace = true
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.6.1", 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.10.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.188",  default-features = false, features = ["derive", "alloc"], optional = true }
thiserror = { version = "1.0.48", optional = true }
sp-core-hashing-proc-macro = { version = "13.0.0", path = "../core/hashing/proc-macro" }
sp-runtime = { path = "../runtime", default-features = false, version = "28.0.0" }
sp-std = { path = "../std", default-features = false, version = "12.0.0" }
sp-version-proc-macro = { path = "proc-macro", default-features = false, version = "12.0.0" }

[features]
default = [ "std" ]
std = [
	"codec/std",
	"impl-serde/std",
	"parity-wasm",
	"scale-info/std",
	"serde/std",
	"sp-runtime/std",
	"sp-std/std",
	"thiserror",
]

# Serde support without relying on std features.
serde = [ "dep:serde", "impl-serde", "sp-runtime/serde" ]