valkey-io / valkeymodule-rs

Rust valkey SDK for modules
BSD 3-Clause "New" or "Revised" License
35 stars 10 forks source link

enable-system-alloc #82

Closed dmitrypol closed 2 months ago

dmitrypol commented 2 months ago

To optionally enter the System.alloc code paths in alloc.rs specify this in Cargo.toml of your module:

[features]
enable-system-alloc = ["valkey-module/system-alloc"]