diff options
author | iximeow <me@iximeow.net> | 2024-06-22 11:03:43 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2024-06-22 11:03:59 -0700 |
commit | a66be66c22bc31526ac35c1cffdb28992a392ccf (patch) | |
tree | 6f49a2e49114256121d3239c2d7223cf635d3c9e /src/lib.rs | |
parent | c21a5f2956d8e0fa3eace14661a8aed124c6e995 (diff) |
move DisplaySink code out from yaxpeax-x86
it was built in-place around yaxpeax-x86, hoisted out once it seemed
suitable and could be generalized. yay!
also include a Makefile in yaxpeax-arch now to test that various crate
feature flag combinations.. work.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -24,10 +24,19 @@ pub use color::{Colorize, NoColors, YaxColors}; #[cfg(feature="colors")] pub use color::ColorSettings; +#[cfg(feature = "alloc")] +extern crate alloc; + +#[cfg(feature = "alloc")] pub mod display; + +pub mod testkit; + mod reader; pub use reader::{Reader, ReaderBuilder, ReadError, U8Reader, U16le, U16be, U32le, U32be, U64le, U64be}; +pub mod safer_unchecked; + /// the minimum set of errors a `yaxpeax-arch` disassembler may produce. /// /// it is permissible for an implementor of `DecodeError` to have items that return `false` for |