From 7dda786cebec0764006ec1e7869cf1b53b34006e Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 19 Oct 2025 23:20:54 +0000 Subject: alloc needs yaxpeax-arch alloc too --- Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 7fccfcc..2d067ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,8 +49,9 @@ default = ["std", "alloc", "fmt", "use-serde", "non-exhaustive-enums"] # dependency tree. non-exhaustive-enums = [] -# fmt-related features that depend on the alloc crate -alloc = [] +# fmt-related features that depend on the alloc crate. additionally, some +# supporting implementation comes from `yaxpeax-arch`'s alloc feature. +alloc = ["yaxpeax-arch/alloc"] # formatting code (Display, Debug impls, etc) are (inconsistently) optional on # `fmt`. future crate releases will move `fmt` impls consistently behind this -- cgit v1.1