Files
pezkuwi-subxt/substrate/primitives/runtime-interface/Cargo.toml
T
Shawn Tabrizi 481ad884d6 Dynamic Benchmarking DB Whitelist (#6815)
* Add `get_whitelist` api

* add whitelisted caller

* Whitelist caller

* remove caller 0

* initial piping of origin (not actual value yet)

* remove attempt to pass origin around

* Add whitelist for `DidUpdate` storage on `pallet_timestamp`

* fix traits

* only add to whitelist if !contains

* PassBy not implemented error

* Whitelist read/writes explicitly per key

* update docs

* reduce trait constraint

* copy pasta

* Apply suggestions from code review

Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>

* rename functions @apopiak

* missed some renaming

* enable doc tests

* Update docs

Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
2020-08-19 16:15:50 +00:00

52 lines
1.8 KiB
TOML

[package]
name = "sp-runtime-interface"
version = "2.0.0-rc5"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "Apache-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "Substrate runtime interface"
documentation = "https://docs.rs/sp-runtime-interface/"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-wasm-interface = { version = "2.0.0-rc5", path = "../wasm-interface", default-features = false }
sp-std = { version = "2.0.0-rc5", default-features = false, path = "../std" }
sp-tracing = { version = "2.0.0-rc5", default-features = false, path = "../tracing" }
sp-runtime-interface-proc-macro = { version = "2.0.0-rc5", path = "proc-macro" }
sp-externalities = { version = "0.8.0-rc5", optional = true, path = "../externalities" }
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false }
static_assertions = "1.0.0"
primitive-types = { version = "0.7.0", default-features = false }
sp-storage = { version = "2.0.0-rc5", default-features = false, path = "../storage" }
[dev-dependencies]
sp-runtime-interface-test-wasm = { version = "2.0.0-rc5", path = "test-wasm" }
sp-state-machine = { version = "0.8.0-rc5", path = "../../primitives/state-machine" }
sp-core = { version = "2.0.0-rc5", path = "../core" }
sp-io = { version = "2.0.0-rc5", path = "../io" }
rustversion = "1.0.0"
trybuild = "1.0.23"
[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 = []