Crates.io | dev_utils |
lib.rs | dev_utils |
version | 0.1.1-rc-1 |
source | src |
created_at | 2023-10-22 16:27:02.728193 |
updated_at | 2024-10-07 05:16:55.636671 |
description | A collection of utilities for development |
homepage | |
repository | https://github.com/Yrrrrrf/dev_utils |
max_upload_size | |
id | 1010656 |
size | 93,892 |
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.
V0.1.1-rc.1
dlog
- dev log instance different from the log
crate but same macrosdatetime
- UNIX timestamp, and date and time utilitiesbase_change
- Convert between bases (any base to any base)
formatting
- Styling traits for formatting data (ANSI colors, bold, italic, underline, etc.)file
- Some file manipulation utilities (crud, list, copy, move, rename)To use this crate, add the following to your Cargo.toml
file:
[dependencies]
dev_utils = "0.1.*"
use dev_utils::app_dt;
fn main() {
app_dt!(file!()); // Print package name and version from Cargo.toml
// this will flush the buffer and print the package name and version
// some new logic w/ a clean slate
}