#debugging #derive-debug #traits #proc-macro

macro debug_stub_derive

A drop-in replacement for #[derive(Debug)] that supports replacement values for members which do not implement fmt::Debug.

3 releases (breaking)

Uses old Rust 2015

0.3.0 May 13, 2017
0.2.0 May 13, 2017
0.1.0 May 13, 2017

#10 in #trait

Download history 783/week @ 2024-07-29 495/week @ 2024-08-05 500/week @ 2024-08-12 396/week @ 2024-08-19 543/week @ 2024-08-26 424/week @ 2024-09-02 389/week @ 2024-09-09 524/week @ 2024-09-16 383/week @ 2024-09-23 299/week @ 2024-09-30 214/week @ 2024-10-07 349/week @ 2024-10-14 267/week @ 2024-10-21 200/week @ 2024-10-28 206/week @ 2024-11-04 156/week @ 2024-11-11

848 downloads per month
Used in 30 crates (6 directly)

MIT/Apache

15KB
279 lines

debug-stub-derive

debug-stub-derive on crates.io debug-stub-derive on docs.rs

A drop-in replacement for #[derive(Debug)] that supports replacement values for members which do not implement fmt::Debug.

Usage

Add this to your Cargo.toml:

[dependencies]
debug_stub_derive = "0.3.0"

and this to your crate root:

#[macro_use]
extern crate debug_stub_derive;

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2MB
~42K SLoC