#display #debugging #regular #why #part #std #derive-debug

macro debug_display

Small crate to allow using Debug as regular Display (Why isn't this just part of std?)

2 unstable releases

0.2.0 Dec 28, 2024
0.1.0 Dec 27, 2024

#512 in Procedural macros

Download history 251/week @ 2024-12-25 17/week @ 2025-01-01

268 downloads per month

Custom license

3KB

debug_display

Very basic derive macro to use debug view as regular display

Usage

use debug_derive::Display;

#[derive(Debug, Display)]
struct/enum/union...

Changelog

0.2.0

Added

  • lifetimes support

No runtime deps