#serialization #value #format #sval #fmt #integration #no-std

no-std sval_fmt

Integration between std::fmt::Debug and sval::Value

27 stable releases

2.13.0 Mar 28, 2024
2.11.1 Jan 31, 2024
2.10.2 Oct 19, 2023
2.6.1 Jun 27, 2023
2.0.2 Mar 24, 2023

#1902 in Encoding

Download history 22355/week @ 2023-12-23 48557/week @ 2023-12-30 70648/week @ 2024-01-06 79802/week @ 2024-01-13 77998/week @ 2024-01-20 73137/week @ 2024-01-27 75418/week @ 2024-02-03 74596/week @ 2024-02-10 89556/week @ 2024-02-17 95341/week @ 2024-02-24 90653/week @ 2024-03-02 83150/week @ 2024-03-09 86357/week @ 2024-03-16 91379/week @ 2024-03-23 111021/week @ 2024-03-30 91103/week @ 2024-04-06

395,177 downloads per month
Used in 5 crates (2 directly)

Apache-2.0 OR MIT

150KB
4K SLoC

sval_fmt

Rust Latest version Documentation Latest

Format implementations of sval::Value using the std::fmt infrastructure.


lib.rs:

Treat any sval::Value as a core::fmt::Debug.

This crate provides ToFmt, a wrapper around any sval::Value that formats it using the same output that you'd get if you derived core::fmt::Debug.

Dependencies

~76KB