mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-10 06:27:57 +00:00
f6548aee31
The `lazy_static` package does not work well in `no-std`: it requires `spin_no_std` feature, which also will propagate into `std` if enabled. This is not what we want. This PR removes public/private key hash-maps and replaces them with simple static byte arrays. `&T` versions of `AsRef/Deref/From` traits implementation were removed. Little const helper for converting hex strings into array during compile time was also added. (somewhat similar to _hex_literal_). --------- Co-authored-by: command-bot <> Co-authored-by: Koute <koute@users.noreply.github.com>
26 lines
813 B
TOML
26 lines
813 B
TOML
[package]
|
|
name = "sp-keyring"
|
|
version = "24.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository.workspace = true
|
|
description = "Keyring support code for the runtime. A set of test accounts."
|
|
documentation = "https://docs.rs/sp-keyring"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
strum = { version = "0.24.1", features = ["derive"], default-features = false }
|
|
sp-core = { path = "../core" }
|
|
sp-runtime = { path = "../runtime" }
|
|
|
|
[features]
|
|
# This feature adds Bandersnatch crypto primitives.
|
|
# It should not be used in production since the implementation and interface may still
|
|
# be subject to significant changes.
|
|
bandersnatch-experimental = ["sp-core/bandersnatch-experimental"]
|