29 stable releases

2.13.2 Oct 15, 2024
2.13.0 Mar 28, 2024
2.10.2 Oct 19, 2023
2.6.1 Jun 27, 2023
2.0.2 Mar 24, 2023

#2192 in Encoding

Download history 130187/week @ 2024-07-29 132252/week @ 2024-08-05 167453/week @ 2024-08-12 161206/week @ 2024-08-19 167239/week @ 2024-08-26 184127/week @ 2024-09-02 218111/week @ 2024-09-09 192253/week @ 2024-09-16 218530/week @ 2024-09-23 218599/week @ 2024-09-30 253162/week @ 2024-10-07 218816/week @ 2024-10-14 228016/week @ 2024-10-21 209720/week @ 2024-10-28 228967/week @ 2024-11-04 214074/week @ 2024-11-11

885,680 downloads per month
Used in 8 crates (3 directly)

Apache-2.0 OR MIT

155KB
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

~75KB