Registry / utility / custom-debug

custom-debug

JSON →
library0.6.2rscratesunverified

Derive Debug with a custom format per field using attributes.

# Cargo.toml [dependencies] custom_debug = "0.6.2"
INSTALL
IMPORT
SIG · CUSTOM-DEBUG
C
custom-debug
utilityrustv0.6.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Debug
✓ use custom_debug::Debug;

Derive Debug with custom formatting for specific fields.

use custom_debug::Debug; #[derive(Debug)] struct MyStruct { #[debug = "0x{:X}"] value: u32, } let s = MyStruct { value: 255 }; println!("{:?}", s);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
custom-debug — cargo add custom-debug · libregistry