| Crates.io | rusty_utils |
| lib.rs | rusty_utils |
| version | 0.1.1 |
| created_at | 2023-12-10 18:10:40.390249+00 |
| updated_at | 2023-12-11 17:06:56.20052+00 |
| description | A Rust package that provides utility functions inspired by or ported from other programming languages. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1064420 |
| size | 13,741 |
A Rust package that provides utility functions inspired by or ported from other programming languages to make transitioning from JS or Python a lot easier. Some of those functions are:
ternary_operator(): a function to emulate the ternary operator that is not present in Rust.reverse_string(): inspired by the array.reverse() method available in JS.concat_arrays(): a fast way to add all the values present in multiples arrays into a single vector.There's more detailed documentation available here.
More functions and methods from other languages will be added in the future.
Add this to your cargo.toml:
[dependencies]
rusty_utils = "*"
You can choose replace the asterisk with your prefered version number, or keep it to use the latest version.
If you see a bug, have some idea that would be cool to add, or want to improve the looks of the documentation:
All contributions are welcome, don't be shy!
This project is licensed under the MIT License.