#irox #stl #tool #module #collection #aren-t

no-std irox-tools

Stuff that should have been in the Rust STL, but aren't

25 releases (8 breaking)

new 0.9.1 Oct 30, 2024
0.8.6 Sep 17, 2024
0.8.3 Jul 19, 2024
0.6.0 Mar 3, 2024
0.4.0 Nov 29, 2023

#304 in Encoding

Download history 45/week @ 2024-07-10 204/week @ 2024-07-17 64/week @ 2024-07-24 197/week @ 2024-07-31 83/week @ 2024-08-07 55/week @ 2024-08-14 47/week @ 2024-08-21 88/week @ 2024-08-28 54/week @ 2024-09-04 392/week @ 2024-09-11 175/week @ 2024-09-18 105/week @ 2024-09-25 45/week @ 2024-10-02 32/week @ 2024-10-09 41/week @ 2024-10-16 198/week @ 2024-10-23

329 downloads per month
Used in 30 crates (19 directly)

MIT/Apache

360KB
9K SLoC

IROX-TOOLS

Stuff that should have been in the Rust STL, but are not.

No-STD support:

Default.

Features:

  • alloc - Enables additional modules & features that make use of the heap.
  • std Enables additional modules that make use of elements in std (annotated below) (requires alloc)

Modules:

Module [no_std]?
ansi_colors no_std List of some basic ANSI Console colors
arrays no_std Functions and tools for manipulating arrays of items.
assert no_std Additional assert macros for tests
codec no_std A trait that provides encode and decode to convert to/from different byte encoding formats
errors no_std Macros to aid in the creation of crate-level error structs
fs no_std Filesystem utilities
fmt no_std Formatting structs and traits
hex no_std Hexdump & Hex manipulation
iterators no_std Iterators adds the Itertools Trait, which adds a number of additional helper methods to the Iterator Trait.
options no_std MaybeInto, MaybeFrom, and MaybeMap - traits to improve chaining of optional functions and erasing Results
packetio no_std Traits for packetization of data and movement of packets of data
random no_std Pseudo-Random Number Generators (PRNGs), implementation
read std Helper functions around std::io::Read
sync std More complex synchronization primitives than in the STD.
primitives: f32 no_std A collection of utilities for the f32 built-in
primitives: f64 no_std A collection of utilities for the f64 built-in
hash: murmur3 no_std Implementation of Murmurhash3
hash: md5 no_std Implementation of MD5 / RFC-1321
hash: sha1 no_std Implementation of SHA1 / RFC-3174
util: base64 no_std RFC-4648 compliant Base64, Base32, Base16 codecs
util: bits no_std Powerful Bit Buffer interfaces, giving std::io::Read more power
util: identifier no_std An Identifier represents a way to uniquely identify an item, whether as a String, u64, or UUID.
util: scanner std A utility to scan for tokens in a byte stream
util: uuid no_std A basic implementation of a UUID

Dependencies