dev_utils

Crates.iodev_utils
lib.rsdev_utils
version0.0.13
sourcesrc
created_at2023-10-22 16:27:02.728193
updated_at2024-03-25 02:00:35.529599
descriptionA collection of utilities for development
homepage
repositoryhttps://github.com/Yrrrrrf/dev_utils
max_upload_size
id1010656
size245,534
Fernando Bryan Reza Campos (Yrrrrrf)

documentation

https://docs.rs/dev_utils

README

Dev Utils

github crates.io docs.rs

dev_utils is a collection of utilities for use in development. Designed to be a comprehensive crate, containing a wide variety of tools for use in development. Intended to be used as a dependency in other projects, and as such, it is designed to be as modular as possible, allowing users to only include the features they need.

It is a manifestation of a crate where we do not need a deep dependencies tree to use a single feature. This crate shouldn't be using any dependencies but for now, it uses the log crate for logging utilities.

Important Note: This crate is currently in active development, and as such, it is not advisable for widespread utilization at this time. There are numerous features still in the process of implementation, which need to be thoroughly tested before they can be considered production-ready.

Features

  • log
    • rlog - Log to stdout
    • record - Record logs to a file
    • log - Log struct for storing log data (to replace the log crate)
  • conversion
    • datetime - UNIX timestamp, and date and time utilities
    • base change - Convert between bases (any base to any base)
      • fix some bugs (when using decimals)
  • codex - Encode and decode data
    • base64 - Encode and decode base64 data
    • unicode - Encode and decode unicode data
    • gzip - Encode and decode gzip data
  • console
    • readline - Interactive readline (for use in a REPL (interactive shell))
    • ansi - ANSI escape codes for colors, styles, and cursor movement
      • ANSI escape codes for colors
      • ANSI escape codes for styles, and cursor movement
      • Interactive readline
  • crypto
    • hash - Hashing utilities (message digest)
    • cipher - Cipher utilities (encryption & decryption)
    • key - Key utilities (key generation)
  • files - Easy file manipulation utilities
    • crud - Create, read, update, and delete files
      • list - List files and directories in a directory
      • copy - Copy a file from one location to another
      • move - Move a file from one location to another
      • rename - Rename a file or directory
    • toml - Read & extract data from Cargo.toml files
    • serde - Serialize and deserialize data

Usage

To use this crate, add the following to your Cargo.toml file:

[dependencies]
dev_utils = "0.*"  # Add the latest version of this crate
log = "0.4.*"  # It also depends on the log crate, so add that too

License

This project is licensed under the terms of the MIT license

Commit count: 11

cargo fmt