debug_stub_derive icon indicating copy to clipboard operation
debug_stub_derive copied to clipboard

A drop-in replacement for #[derive(Debug)] with support for members which do not implement `fmt::Debug`.

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

  • Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.

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.