30 stable releases

2.14.0 Jan 14, 2025
2.13.2 Oct 15, 2024
2.13.1 Sep 14, 2024
2.13.0 Mar 28, 2024
2.0.2 Mar 24, 2023

#1954 in Encoding

Download history 210164/week @ 2024-10-30 224720/week @ 2024-11-06 208976/week @ 2024-11-13 193780/week @ 2024-11-20 105535/week @ 2024-11-27 168721/week @ 2024-12-04 212786/week @ 2024-12-11 125617/week @ 2024-12-18 50329/week @ 2024-12-25 150251/week @ 2025-01-01 293004/week @ 2025-01-08 206560/week @ 2025-01-15 218978/week @ 2025-01-22 210039/week @ 2025-01-29 216432/week @ 2025-02-05 160604/week @ 2025-02-12

843,563 downloads per month
Used in 9 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