serde_fmt

Build Status Latest version Documentation Latest

Convert any serde::Serialize into a std::fmt::Debug:

```rust fn takesserialize(v: impl Serialize) { dgb!(serdefmt::to_debug(&v));

// Do something with `v`

} ```

Supported rustc

This library requires a very recent nightly compiler.

Getting started

Add serde_fmt to your Cargo.toml:

toml [dependencies.serde_fmt] version = "0.0.1"

By default, this library will depend on the standard library. To use it it no-std environments, you can disable the default crate features:

toml [dependencies.serde_fmt] version = "0.0.1" default-features = false