sp-runtime 39.0.2

Runtime Modules shared primitive types. (polkadot v1.15.0)
Documentation
[dependencies.codec]
default-features = false
features = ["derive", "max-encoded-len"]
package = "parity-scale-codec"
version = "3.6.12"

[dependencies.docify]
version = "0.2.8"

[dependencies.either]
default-features = false
version = "1.8.1"

[dependencies.hash256-std-hasher]
default-features = false
version = "0.15.2"

[dependencies.impl-trait-for-tuples]
version = "0.2.2"

[dependencies.log]
default-features = false
version = "0.4.21"

[dependencies.num-traits]
default-features = false
version = "0.2.17"

[dependencies.paste]
default-features = true
version = "1.0.14"

[dependencies.rand]
default-features = true
optional = true
version = "0.8.5"

[dependencies.scale-info]
default-features = false
features = ["derive"]
version = "2.11.1"

[dependencies.serde]
default-features = false
features = ["alloc", "derive"]
optional = true
version = "1.0.197"

[dependencies.simple-mermaid]
optional = true
version = "0.1.1"

[dependencies.sp-application-crypto]
default-features = false
version = "38.0.0"

[dependencies.sp-arithmetic]
default-features = false
version = "26.0.0"

[dependencies.sp-core]
default-features = false
version = "34.0.0"

[dependencies.sp-io]
default-features = false
version = "38.0.0"

[dependencies.sp-std]
default-features = false
version = "14.0.0"

[dependencies.sp-weights]
default-features = false
version = "31.0.0"

[dependencies.tracing]
default-features = false
features = ["log"]
version = "0.1.37"

[dev-dependencies.rand]
default-features = true
version = "0.8.5"

[dev-dependencies.serde_json]
default-features = true
version = "1.0.121"

[dev-dependencies.zstd]
default-features = false
version = "0.12.4"

[features]
default = ["std"]
runtime-benchmarks = []
serde = ["dep:serde", "scale-info/serde", "sp-application-crypto/serde", "sp-arithmetic/serde", "sp-core/serde", "sp-weights/serde"]
std = ["codec/std", "either/use_std", "hash256-std-hasher/std", "log/std", "num-traits/std", "rand", "scale-info/std", "serde/std", "simple-mermaid", "sp-application-crypto/std", "sp-arithmetic/std", "sp-core/std", "sp-io/std", "sp-std/std", "sp-weights/std", "tracing/std"]
try-runtime = []

[lib]
name = "sp_runtime"
path = "src/lib.rs"

[lints.clippy.all]
level = "allow"
priority = 0

[lints.clippy.bind_instead_of_map]
level = "allow"
priority = 2

[lints.clippy.borrowed-box]
level = "allow"
priority = 2

[lints.clippy.complexity]
level = "warn"
priority = 1

[lints.clippy.correctness]
level = "warn"
priority = 1

[lints.clippy.default_constructed_unit_structs]
level = "allow"
priority = 2

[lints.clippy.derivable_impls]
level = "allow"
priority = 2

[lints.clippy.eq_op]
level = "allow"
priority = 2

[lints.clippy.erasing_op]
level = "allow"
priority = 2

[lints.clippy.extra-unused-type-parameters]
level = "allow"
priority = 2

[lints.clippy.identity-op]
level = "allow"
priority = 2

[lints.clippy.if-same-then-else]
level = "allow"
priority = 2

[lints.clippy.needless-lifetimes]
level = "allow"
priority = 2

[lints.clippy.needless_option_as_deref]
level = "allow"
priority = 2

[lints.clippy.nonminimal-bool]
level = "allow"
priority = 2

[lints.clippy.option-map-unit-fn]
level = "allow"
priority = 2

[lints.clippy.stable_sort_primitive]
level = "allow"
priority = 2

[lints.clippy.too-many-arguments]
level = "allow"
priority = 2

[lints.clippy.type_complexity]
level = "allow"
priority = 2

[lints.clippy.unit_arg]
level = "allow"
priority = 2

[lints.clippy.unnecessary_cast]
level = "allow"
priority = 2

[lints.clippy.useless_conversion]
level = "allow"
priority = 2

[lints.clippy.while_immutable_condition]
level = "allow"
priority = 2

[lints.clippy.zero-prefixed-literal]
level = "allow"
priority = 2

[lints.rust.suspicious_double_ref_op]
level = "allow"
priority = 2

[package]
authors = ["Parity Technologies <admin@parity.io>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Runtime Modules shared primitive types. (polkadot v1.15.0)"
documentation = "https://docs.rs/sp-runtime"
edition = "2021"
homepage = "https://substrate.io"
license = "Apache-2.0"
name = "sp-runtime"
readme = "README.md"
repository = "https://github.com/paritytech/polkadot-sdk.git"
version = "39.0.2"

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