mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 13:27:57 +00:00
be8e626806
We currently use a bit of a hack in `.cargo/config` to make sure that clippy isn't too annoying by specifying the list of lints. There is now a stable way to define lints for a workspace. The only down side is that every crate seems to have to opt into this so there's a *few* files modified in this PR. Dependencies: - [x] PR that upgrades CI to use rust 1.74 is merged. --------- Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: Branislav Kontur <bkontur@gmail.com> Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
64 lines
1.8 KiB
TOML
64 lines
1.8 KiB
TOML
[package]
|
|
name = "sp-runtime-interface"
|
|
version = "17.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository.workspace = true
|
|
description = "Substrate runtime interface"
|
|
documentation = "https://docs.rs/sp-runtime-interface/"
|
|
readme = "README.md"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
bytes = { version = "1.1.0", default-features = false }
|
|
sp-wasm-interface = { path = "../wasm-interface", default-features = false }
|
|
sp-std = { path = "../std", default-features = false }
|
|
sp-tracing = { path = "../tracing", default-features = false }
|
|
sp-runtime-interface-proc-macro = { path = "proc-macro" }
|
|
sp-externalities = { path = "../externalities", default-features = false }
|
|
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["bytes"] }
|
|
static_assertions = "1.0.0"
|
|
primitive-types = { version = "0.12.0", default-features = false }
|
|
sp-storage = { path = "../storage", default-features = false }
|
|
impl-trait-for-tuples = "0.2.2"
|
|
|
|
[dev-dependencies]
|
|
sp-runtime-interface-test-wasm = { path = "test-wasm" }
|
|
sp-state-machine = { path = "../state-machine" }
|
|
sp-core = { path = "../core" }
|
|
sp-io = { path = "../io" }
|
|
rustversion = "1.0.6"
|
|
trybuild = "1.0.74"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"bytes/std",
|
|
"codec/std",
|
|
"primitive-types/std",
|
|
"sp-core/std",
|
|
"sp-externalities/std",
|
|
"sp-io/std",
|
|
"sp-runtime-interface-test-wasm/std",
|
|
"sp-state-machine/std",
|
|
"sp-std/std",
|
|
"sp-storage/std",
|
|
"sp-tracing/std",
|
|
"sp-wasm-interface/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 = []
|