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

#1786 in Encoding

Download history 163526/week @ 2024-08-17 167500/week @ 2024-08-24 181026/week @ 2024-08-31 216555/week @ 2024-09-07 192545/week @ 2024-09-14 218806/week @ 2024-09-21 217188/week @ 2024-09-28 251625/week @ 2024-10-05 221392/week @ 2024-10-12 224405/week @ 2024-10-19 218841/week @ 2024-10-26 224253/week @ 2024-11-02 218252/week @ 2024-11-09 192936/week @ 2024-11-16 139509/week @ 2024-11-23 120563/week @ 2024-11-30

711,177 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