Crate irox_tools

Source

Modules§

  • List of some basic ANSI Console colors
  • Functions and tools for manipulating arrays of items.
  • Additional assert macros for tests
  • RFC-4648 Compliant Base64, Base32, and Base16 encoders and decoders
  • Stack Buffers
  • A Codec is a trait that provides encode and decode to convert to/from different byte encoding formats
  • Macros to aid in the creation of crate-level error structs
  • A collection of utilities for the f32 built-in
  • A collection of utilities for the f64 built-in
  • Formatting structs and traits
  • Filesystem utilities
  • Message Hash (Digest) functions
  • Hexdump & Hex manipulation
  • An Identifier represents a way to uniquely identify an item, whether as a String, u64, or UUID.
  • Iterators adds the Itertools Trait, which adds a number of additional helper methods to the Iterator Trait.
  • Macros for better documentation.
  • MaybeInto, MaybeFrom, and MaybeMap - traits to improve chaining of optional functions and erasing Results
  • Traits for packetization of data and movement of packets of data
  • Pseudo-Random Number Generators (PRNGs)
  • readstd
    Helper functions around std::io::Read
  • A utility to scan for tokens in a byte stream
  • syncstd
    More complex synchronization primitives than in the STD.
  • A collection of utilities for the u8 built-in
  • A collection of utilities for the u64 built-in
  • A basic implementation of a UUID
  • vecalloc
    Bolt-ons for Vec and VecDeque - better displays and iteration tools

Macros§

  • Assert Equal with floating point epsilon/delta values. |left-right| <= eps
  • Assert equal w/ hex value, for elements that implement core::fmt::UpperHex
  • Assert equal w/ hex value slices, for slices of elements that implement core::fmt::UpperHex
  • Enables feature-specific code. Use this macro instead of cfg(feature = "alloc") to generate docs properly.
  • Enables feature-specific code. Use this macro instead of cfg(feature = "bits") to generate docs properly.
  • Enables feature-specific code. Use this macro instead of cfg(feature = "egui") to generate docs properly.
  • Enables feature-specific code. Use this macro instead of cfg(feature = "git") to generate docs properly.
  • Enables feature-specific code. Use this macro instead of cfg(feature = "plots") to generate docs properly.
  • Enables feature-specific code. Use this macro instead of cfg(feature = "serde") to generate docs properly.
  • Enables feature-specific code. Use this macro instead of cfg(feature = "std") to generate docs properly.
  • Enables Unix-specific code. Use this macro instead of cfg(unix) to generate docs properly.
  • Enables Windows-specific code. Use this macro instead of cfg(windows) to generate docs properly.
  • Variant of the format! macro that doesn’t require std::io::Write
  • Creates a ANSI Terminal Background Color Code using the specified RGB values
  • Creates a ANSI Terminal Foreground Color Code using the specified RGB values
  • Const compile-time evaluation of the provided string literals
  • Macro to template out standard builder functions for types build with impl_error
  • Macro to build a fairly standard error struct.
  • Macro to implement from converters for error types generated with impl_error!
  • Creates a static lazy initialization variable function.

Enums§