Rufl is an util function library for rust. It provides a series of useful functions to make your rust development easier.
Rufl is short for "rust util function library".
简体中文
Features
- Powerful: supports commonly used development features, string, collection, random, file... etc.
- Pure: keep external dependencies to a minimum.
- Simple: well structure, test for every function.
Installation
- cargo add ruf
[]
= "0.1.1"
Example
Here takes the string function add_commas (Add comma to a number value by every 3 numbers from right. Ahead by prefix symbol.) as an example, and the rufl::string mod needs to be used.
Code:
use string;