6 stable releases

1.5.0 Aug 4, 2023
1.4.0 Jul 8, 2023

#585 in Filesystem

Download history 32/week @ 2023-10-29 25/week @ 2023-11-05 36/week @ 2023-11-12 27/week @ 2023-11-19 43/week @ 2023-11-26 30/week @ 2023-12-03 17/week @ 2023-12-10 32/week @ 2023-12-17 55/week @ 2023-12-24 17/week @ 2023-12-31 17/week @ 2024-01-07 35/week @ 2024-01-14 14/week @ 2024-01-21 49/week @ 2024-01-28 47/week @ 2024-02-04 49/week @ 2024-02-11

160 downloads per month
Used in 4 crates (3 directly)

MIT license

25KB
504 lines

COUTILS

GitHub CI

A set of useful functions for Rust.

ABOUT

I found myself re-writing the same functions a million times in different Rust projects. Because this is not efficient and is quite time-consuming, I thought I'd unify these common functions into a library. This is that library. Coutils is short for Common Utilities. Enjoy.

INSTALLATION

To use Coutils in your Rust project, add this line to your project's Cargo.toml's [dependencies] section:

coutils = "1.5.0"

USAGE

To check out this crate's API, please visit the documentation page.

CHANGELOG

Version 1.0.0

  • Initial release.
  • Upload to GitHub.

Version 1.1.0

  • Added the has_item method.
  • Added unit tests.
  • Split the code into modules.

Version 1.2.0

  • Split everything into sub-modules.
  • Refactored some functions.
  • Added some new entities.
  • Added a host of functions and entities.
  • Added instructions for using and viewing API documentation.

Version 1.3.0

  • Added a function to copy files from src/test_file.txt to dest/test_file.txt.
  • Updated documentation.
  • Bumped version number.

Version 1.4.0

  • Added better error-catching architecture via the Result enum.
  • Improved documentation.
  • Added a function to get the current time as a formatted string.

Version 1.5.0

  • Improved documentation.
  • Removed dependencies that will break WASM builds.

NOTE

  • Coutils by Alexander Abraham a.k.a. "Angel Dollface"
  • Licensed under the MIT license.

Dependencies

~1.5MB
~25K SLoC