#debug #trait #proc-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

#1038 in Rust patterns

Download history 590/week @ 2021-02-26 621/week @ 2021-03-05 724/week @ 2021-03-12 754/week @ 2021-03-19 1058/week @ 2021-03-26 1036/week @ 2021-04-02 886/week @ 2021-04-09 772/week @ 2021-04-16 789/week @ 2021-04-23 877/week @ 2021-04-30 836/week @ 2021-05-07 832/week @ 2021-05-14 735/week @ 2021-05-21 810/week @ 2021-05-28 895/week @ 2021-06-04 542/week @ 2021-06-11

3,272 downloads per month
Used in 26 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
~38K SLoC