aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2025-10-19 23:20:54 +0000
committeriximeow <me@iximeow.net>2025-10-19 23:29:05 +0000
commit7dda786cebec0764006ec1e7869cf1b53b34006e (patch)
tree43c2602da1099fe696b6e9ae5c1eb6ff7cea5062 /Cargo.toml
parent5ffc14c6dd47660c8c5f61dcce8d2506da51e035 (diff)
alloc needs yaxpeax-arch alloc too
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml5
1 files changed, 3 insertions, 2 deletions
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