[package] name = "custom-allocator" version = "6.0.0-alpha" authors = ["Use Ink "] edition = "2024" publish = false [dependencies] # We're going to use a different allocator than the one provided by ink!. To do that we # first need to disable the included memory allocator. ink = { path = "../../../crates/ink", default-features = false, features = ["no-allocator"] } # todo #foo = { path = "../../../foo", default-features = false } #This is going to be our new global memory allocator. #dlmalloc = {version = "0.2", default-features = false, features = ["global"] } #bumpalo = "3.16.0" [dev-dependencies] ink_e2e = { path = "../../../crates/e2e" } [lib] path = "lib.rs" [features] default = ["std"] std = [ "ink/std", ] ink-as-dependency = [] e2e-tests = []