2 releases
0.1.3 | Mar 30, 2023 |
---|---|
0.1.2 | Mar 27, 2023 |
0.1.1 |
|
0.1.0 |
|
#2550 in Rust patterns
40 downloads per month
10KB
80 lines
febits
A Rust library containing various features and tools to help make certain tasks easier
These functions were pulled from other projects being worked on for use later in on future projects, consolidating code into one library.
A library containing tools to help with certain tasks to make things easier. Primarily the tools will consist of ways to manipulate primitives and other data types.
prim_u32
-> u32_to_u16: Split a [u32] into a tuple of ([u16], [u16])
prim_str
-> find_str_exact: Find an exact [&str] in another [&str]
-> find_str: Find any [&str] in another [&str]
string_fe
-> bytes_to_hex_string: Hex-encodes [u8] into a [String]
-> index_hex_string_in_hex_string: Finds a Hex-encoded [String] inside another Hex-encoded [String]
-> index_string_in_u8: Finds a &[String] inside a set of [u8]
vectors
-> sort_vec_floats_f32: Sorts a Vec<f32>
into smallest -> biggest order
lib.rs
:
Febits
A library containing tools to help with certain tasks to make things easier. Primarily the tools will consist of ways to manipulate primitives and other data types.
prim_u32
-> u32_to_u16: Split a [u32] into a tuple of ([u16], [u16])
prim_str
-> find_str_exact: Find an exact [&str] in another [&str]
-> find_str: Find any [&str] in another [&str]
string_fe
-> bytes_to_hex_string: Hex-encodes [u8] into a [String]
-> index_hex_string_in_hex_string: Finds a Hex-encoded [String] inside of another Hex-encoded [String]
-> index_string_in_u8: Finds a &[String] inside of a set of [u8]
vectors
-> sort_vec_floats_f32: Sorts a Vec<f32>
into smallest -> biggest order