mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 02:57:57 +00:00
5bd6e94e64
This moves the wasm-allocator (`FreeingBumpHeapAllocator`) into its own crate `sp-allocator`. This new crate can theoretically provide multiple different allocators. Besides moving the allocator, this pr also makes `FreeingBumpHeapAllocator` compile on `no_std`.
27 lines
996 B
TOML
27 lines
996 B
TOML
[package]
|
|
name = "sc-runtime-test"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
build = "build.rs"
|
|
|
|
[dependencies]
|
|
sp-std = { version = "2.0.0", default-features = false, path = "../../../primitives/std" }
|
|
sp-io = { version = "2.0.0", default-features = false, path = "../../../primitives/io" }
|
|
sp-sandbox = { version = "0.8.0", default-features = false, path = "../../../primitives/sandbox" }
|
|
sp-core = { version = "2.0.0", default-features = false, path = "../../../primitives/core" }
|
|
sp-runtime = { version = "2.0.0", default-features = false, path = "../../../primitives/runtime" }
|
|
sp-allocator = { version = "2.0.0", default-features = false, path = "../../../primitives/allocator" }
|
|
|
|
[build-dependencies]
|
|
wasm-builder-runner = { version = "1.0.4", package = "substrate-wasm-builder-runner", path = "../../../utils/wasm-builder-runner" }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"sp-io/std",
|
|
"sp-sandbox/std",
|
|
"sp-std/std",
|
|
"sp-allocator/std",
|
|
]
|