Files
pezkuwi-subxt/substrate/primitives/runtime-interface/Cargo.toml
T
Bastian Köcher f6f58f95e1 inspect-key: Adds support for expect-public (#10430)
* Introduce `SecretUri`

* `inspect-key`: Adds support for `expect-public`

`expect-public` can be used to check that a given secret uri corresponds to the given public key.
This is mainly useful when the secret uri is protected by a password and a new derived account
should be generated. With `--expect-public` the user can pass the public key/account-id of the
"base" secret uri aka the one without any derivation to ensure the correct password was inserted.

* Fixes

* 🤦

* Apply suggestions from code review

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>

* Review feedback

* FMT

* Bump the versions

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
2021-12-11 08:13:18 +01:00

54 lines
1.8 KiB
TOML

[package]
name = "sp-runtime-interface"
version = "4.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 = "Substrate runtime interface"
documentation = "https://docs.rs/sp-runtime-interface/"
readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-wasm-interface = { version = "4.0.0", path = "../wasm-interface", default-features = false }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
sp-tracing = { version = "4.0.0", default-features = false, path = "../tracing" }
sp-runtime-interface-proc-macro = { version = "4.0.0", path = "proc-macro" }
sp-externalities = { version = "0.10.0", optional = true, path = "../externalities" }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false }
static_assertions = "1.0.0"
primitive-types = { version = "0.10.1", default-features = false }
sp-storage = { version = "4.0.0", default-features = false, path = "../storage" }
impl-trait-for-tuples = "0.2.1"
[dev-dependencies]
sp-runtime-interface-test-wasm = { version = "2.0.0", path = "test-wasm" }
sp-state-machine = { version = "0.10.0-dev", path = "../state-machine" }
sp-core = { version = "4.1.0-dev", path = "../core" }
sp-io = { version = "4.0.0-dev", path = "../io" }
rustversion = "1.0.5"
trybuild = "1.0.52"
[features]
default = [ "std" ]
std = [
"sp-wasm-interface/std",
"sp-std/std",
"sp-tracing/std",
"codec/std",
"sp-externalities",
"primitive-types/std",
]
# ATTENTION
#
# Only use when you know what you are doing.
#
# Disables static assertions in `impls.rs` that checks the word size. To prevent any footgun, the
# check is changed into a runtime check.
disable_target_static_assertions = []