[[bench]]
harness = false
name = "bench"
[dependencies.array-bytes]
version = "6.2.2"
[dependencies.bip39]
default-features = false
features = ["alloc"]
package = "parity-bip39"
version = "2.0.1"
[dependencies.bitflags]
version = "1.3"
[dependencies.blake2]
default-features = false
optional = true
version = "0.10.4"
[dependencies.bounded-collections]
default-features = false
version = "0.2.0"
[dependencies.bs58]
default-features = false
optional = true
version = "0.5.0"
[dependencies.codec]
default-features = false
features = ["derive", "max-encoded-len"]
package = "parity-scale-codec"
version = "3.6.12"
[dependencies.dyn-clonable]
optional = true
version = "0.9.0"
[dependencies.ed25519-zebra]
default-features = false
version = "4.0.3"
[dependencies.futures]
optional = true
version = "0.3.30"
[dependencies.hash-db]
default-features = false
version = "0.16.0"
[dependencies.hash256-std-hasher]
default-features = false
version = "0.15.2"
[dependencies.impl-serde]
default-features = false
optional = true
version = "0.4.0"
[dependencies.itertools]
optional = true
version = "0.11"
[dependencies.k256]
default-features = false
features = ["alloc", "ecdsa"]
version = "0.13.3"
[dependencies.libsecp256k1]
default-features = false
features = ["static-context"]
version = "0.7"
[dependencies.log]
default-features = false
version = "0.4.21"
[dependencies.merlin]
default-features = false
version = "3.0"
[dependencies.parking_lot]
optional = true
version = "0.12.1"
[dependencies.paste]
version = "1.0.7"
[dependencies.primitive-types]
default-features = false
features = ["codec", "scale-info"]
version = "0.12.0"
[dependencies.rand]
features = ["small_rng"]
optional = true
version = "0.8.5"
[dependencies.scale-info]
default-features = false
features = ["derive"]
version = "2.5.0"
[dependencies.schnorrkel]
default-features = false
features = ["preaudit_deprecated"]
version = "0.11.4"
[dependencies.secp256k1]
default-features = false
features = ["alloc", "recovery"]
optional = true
version = "0.28.0"
[dependencies.secrecy]
default-features = false
features = ["alloc"]
version = "0.8.0"
[dependencies.serde]
default-features = false
features = ["alloc", "derive"]
optional = true
version = "1.0.197"
[dependencies.sp-crypto-hashing]
default-features = false
version = "0.1.0"
[dependencies.sp-debug-derive]
default-features = false
version = "14.0.0"
[dependencies.sp-externalities]
default-features = false
optional = true
version = "0.29.0"
[dependencies.sp-runtime-interface]
default-features = false
version = "28.0.0"
[dependencies.sp-std]
default-features = false
version = "14.0.0"
[dependencies.sp-storage]
default-features = false
version = "21.0.0"
[dependencies.ss58-registry]
default-features = false
version = "1.34.0"
[dependencies.substrate-bip39]
default-features = false
version = "0.6.0"
[dependencies.thiserror]
optional = true
version = "1.0.48"
[dependencies.tracing]
optional = true
version = "0.1.29"
[dependencies.w3f-bls]
default-features = false
optional = true
version = "0.1.3"
[dependencies.zeroize]
default-features = false
version = "1.4.3"
[dev-dependencies.criterion]
version = "0.5.1"
[dev-dependencies.lazy_static]
version = "1.4.0"
[dev-dependencies.regex]
version = "1.6.0"
[dev-dependencies.serde_json]
default-features = true
version = "1.0.114"
[features]
bls-experimental = ["w3f-bls"]
default = ["std"]
full_crypto = ["blake2", "sp-runtime-interface/disable_target_static_assertions"]
serde = ["blake2", "bounded-collections/serde", "bs58/alloc", "dep:serde", "impl-serde", "k256/serde", "primitive-types/serde_no_std", "scale-info/serde", "sp-storage/serde"]
std = ["bip39/rand", "bip39/std", "blake2/std", "bounded-collections/std", "bs58/std", "codec/std", "dyn-clonable", "ed25519-zebra/std", "full_crypto", "futures", "futures/thread-pool", "hash-db/std", "hash256-std-hasher/std", "impl-serde/std", "itertools", "k256/std", "libsecp256k1/std", "log/std", "merlin/std", "parking_lot", "primitive-types/byteorder", "primitive-types/rustc-hex", "primitive-types/serde", "primitive-types/std", "rand", "scale-info/std", "schnorrkel/std", "secp256k1/global-context", "secp256k1/std", "serde/std", "sp-crypto-hashing/std", "sp-debug-derive/std", "sp-externalities/std", "sp-runtime-interface/std", "sp-std/std", "sp-storage/std", "ss58-registry/std", "substrate-bip39/std", "thiserror", "tracing", "w3f-bls?/std", "zeroize/alloc", "zeroize/std"]
[lib]
bench = false
[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>"]
description = "Shareable Substrate types. (polkadot v1.13.0)"
documentation = "https://docs.rs/sp-core"
edition = "2021"
homepage = "https://substrate.io"
license = "Apache-2.0"
name = "sp-core"
repository = "https://github.com/paritytech/polkadot-sdk.git"
version = "34.0.0"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]