diff options
author | iximeow <me@iximeow.net> | 2024-06-23 10:44:24 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2024-06-23 10:44:24 -0700 |
commit | 931ad9b84e75faf734ddff19b692481013260f6e (patch) | |
tree | 381ef4deb26ed5e728f378e99f2ea11426be45d4 /Cargo.toml | |
parent | 4c1f3c84bdba53c514713fbaaf00431efd60d21c (diff) |
InstructionTextBuffer is only present with alloc (new crate flag)
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -40,7 +40,13 @@ lto = true default = ["std", "colors", "use-serde", "fmt"] # opt-in for some apis that are really much nicer with String -std = ["yaxpeax-arch/std"] +std = ["alloc", "yaxpeax-arch/std"] + +# opt-in for some formatting-related helpers that require performing allocation +# +# this should only be useful with `fmt` currently, but in the future there could +# be other `fmt`-independent code gated on `alloc`. +alloc = ["yaxpeax-arch/alloc"] # feature for formatting instructions and their components fmt = [] |