mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 19:17:58 +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`.
23 lines
603 B
TOML
23 lines
603 B
TOML
[package]
|
|
name = "sp-allocator"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
sp-std = { version = "2.0.0", path = "../std", default-features = false }
|
|
sp-core = { version = "2.0.0", path = "../core", default-features = false }
|
|
sp-wasm-interface = { version = "2.0.0", path = "../wasm-interface", default-features = false }
|
|
log = { version = "0.4.8", optional = true }
|
|
derive_more = { version = "0.99.2", optional = true }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"sp-std/std",
|
|
"sp-core/std",
|
|
"sp-wasm-interface/std",
|
|
"log",
|
|
"derive_more",
|
|
]
|