aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-06-22 12:05:11 -0700
committeriximeow <me@iximeow.net>2024-06-22 12:05:11 -0700
commit0c69ee37f98ce616df5237cbe74952c2a28cc5cb (patch)
tree03054f2df3ead67cc6ce39e9d43d2ddc09a92ab8 /CHANGELOG
parent872adb302b1c51cda7b1e99e128129e230e24ff8 (diff)
VecSink only needs `alloc`, hide struct items
Diffstat (limited to 'CHANGELOG')
-rw-r--r--CHANGELOG16
1 files changed, 13 insertions, 3 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 3bc66ce..502b165 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -13,6 +13,11 @@ TODO: impls of `fn one` and `fn zero` so downstream users don't have to import n
## 0.3.0
+added a new crate feature flag, `alloc`.
+ this flag is for any features that do not require std, but do require
+ containers from `liballoc`. good examples are `alloc::string::String` or
+ `alloc::vec::Vec`.
+
added `yaxpeax_arch::display::DisplaySink` after revisiting output colorization.
`DisplaySink` is better suited for general markup, rather than being focused
specifically on ANSI/console text coloring. `YaxColors` also simply does not
@@ -20,9 +25,9 @@ added `yaxpeax_arch::display::DisplaySink` after revisiting output colorization.
needs to be styled is only written to after intermediate buffering.
`DisplaySink` also includes specializable functions for writing text to an
-output, and the implementation for `alloc::string::String` takes advantage of
-this: writing through `impl DisplaySink for String` will often be substantially
-more performant than writing through `fmt::Write`.
+ output, and the implementation for `alloc::string::String` takes advantage of
+ this: writing through `impl DisplaySink for String` will often be substantially
+ more performant than writing through `fmt::Write`.
added `yaxpeax_arch::safer_unchecked` to aid in testing use of unchecked methods
these were originally added to improve yaxpeax-x86 testing:
@@ -30,6 +35,11 @@ added `yaxpeax_arch::safer_unchecked` to aid in testing use of unchecked methods
yaxpeax-arch as they're generally applicable and overall wonderful tools.
thank you again 522!
+made VecSink's `records` private. instead of extracting records from the struct
+ by accessing this field directly, call `VecSink::into_inner()`.
+
+made VecSink is now available through the `alloc` feature flag as well as `std`.
+
## 0.2.8
added an impl of `From<ReadError>` for `StandardPartialDecoderError`, matching the existing `StandardDecodeError` impl.