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

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

#124 in #derive-debug

Download history 1475/week @ 2023-12-01 1818/week @ 2023-12-08 1367/week @ 2023-12-15 736/week @ 2023-12-22 503/week @ 2023-12-29 916/week @ 2024-01-05 762/week @ 2024-01-12 1098/week @ 2024-01-19 863/week @ 2024-01-26 886/week @ 2024-02-02 1259/week @ 2024-02-09 1327/week @ 2024-02-16 770/week @ 2024-02-23 679/week @ 2024-03-01 894/week @ 2024-03-08 724/week @ 2024-03-15

3,258 downloads per month
Used in 29 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

~1.5MB
~40K SLoC