debug_utils

Crates.iodebug_utils
lib.rsdebug_utils
version0.1.2
sourcesrc
created_at2023-12-04 15:16:36.593216
updated_at2023-12-04 15:34:20.438307
descriptionA utility crate for enhanced debugging in Rust
homepage
repository
max_upload_size
id1057703
size3,228
Uriah Galang (codeitlikemiley)

documentation

README

debug! macro

A macro for printing debug information about variables.

Installation

Add this to your Cargo.toml:

[dependencies]
debug_utils = "*"

Usage

use debug_utils::debug;
fn main() {
    let x = 42;
    debug!(x);
}

Outputs: {var} <{type}> = {value}

{x} <i32> = 42
Commit count: 0

cargo fmt