serde_fmt 0.0.1

Write any serde::Serialize using the standard formatting APIs
docs.rs failed to build serde_fmt-0.0.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: serde_fmt-1.0.3

serde_fmt

Build Status Latest version Documentation Latest

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

fn takes_serialize(v: impl Serialize) {
    dgb!(serde_fmt::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:

[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:

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