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

#1987 in Encoding

Download history 192936/week @ 2024-11-16 139509/week @ 2024-11-23 120555/week @ 2024-11-30 230850/week @ 2024-12-07 177234/week @ 2024-12-14 51076/week @ 2024-12-21 95722/week @ 2024-12-28 199646/week @ 2025-01-04 306829/week @ 2025-01-11 195065/week @ 2025-01-18 216868/week @ 2025-01-25 222108/week @ 2025-02-01 208424/week @ 2025-02-08 206413/week @ 2025-02-15 244613/week @ 2025-02-22 201093/week @ 2025-03-01

899,108 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