Module dprint

Module dprint 

Source
Expand description

Calls eprintln! but only if enabled

Enabling means both --cfg derive_deftly_dprint and DERIVE_DEFTLY_DPRINT set to 1.

RUSTFLAGS="--cfg derive_deftly_dprint" DERIVE_DEFTLY_DPRINT=1 cargo build

Output can be rather interleaved due to test parallelism etc.

Macrosยง

dprint_block ๐Ÿ”’
For debug printing a block of input or output
dprintln ๐Ÿ”’