Registry / utility / opaque-debug

opaque-debug

JSON →
library0.4.0rscratesunverified

This crate is deprecated. Use explicit impl of `fmt::Debug` instead.

# Cargo.toml [dependencies] opaque-debug = "0.4.0"
INSTALL
IMPORT
SIG · OPAQUE-DEBUG
O
opaque-debug
utilityrustv0.4.0
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.

OpaqueDebug
use opaque_debug::OpaqueDebug;

Derive OpaqueDebug to hide internal fields in Debug output.

use opaque_debug::OpaqueDebug; #[derive(OpaqueDebug)] struct MyStruct; fn main() { let s = MyStruct; println!("{:?}", s); }
Debug
Known issues
breakingCrate is deprecated; use manual Debug impl instead.
fix
Replace #[derive(OpaqueDebug)] with a manual impl of fmt::Debug that hides fields.
affects: >=0.1.0
Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
opaque-debug — cargo add opaque-debug · libregistry