#serialization #no-std

no-std sval_fmt

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

18 stable releases

new 2.9.0 Sep 28, 2023
2.8.0 Sep 21, 2023
2.6.1 Jun 27, 2023
2.5.0 May 29, 2023
2.0.2 Mar 24, 2023

#101 in #serialization

Download history 25265/week @ 2023-06-09 20374/week @ 2023-06-16 22158/week @ 2023-06-23 21755/week @ 2023-06-30 25397/week @ 2023-07-07 25248/week @ 2023-07-14 28195/week @ 2023-07-21 31865/week @ 2023-07-28 30603/week @ 2023-08-04 31465/week @ 2023-08-11 33157/week @ 2023-08-18 55666/week @ 2023-08-25 49805/week @ 2023-09-01 53235/week @ 2023-09-08 45499/week @ 2023-09-15 42622/week @ 2023-09-22

200,975 downloads per month
Used in 6 crates (3 directly)

Apache-2.0 OR MIT

135KB
3.5K 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

~77KB