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

no-std irox-tools

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

26 unstable releases (8 breaking)

new 0.9.2 Dec 14, 2024
0.9.1 Oct 30, 2024
0.8.6 Sep 17, 2024
0.8.3 Jul 19, 2024
0.4.0 Nov 29, 2023

#699 in Encoding

Download history 54/week @ 2024-08-23 83/week @ 2024-08-30 150/week @ 2024-09-06 336/week @ 2024-09-13 166/week @ 2024-09-20 81/week @ 2024-09-27 28/week @ 2024-10-04 43/week @ 2024-10-11 78/week @ 2024-10-18 287/week @ 2024-10-25 86/week @ 2024-11-01 19/week @ 2024-11-08 44/week @ 2024-11-15 44/week @ 2024-11-22 125/week @ 2024-11-29 134/week @ 2024-12-06

349 downloads per month
Used in 31 crates (19 directly)

MIT/Apache

385KB
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