#serialization #sval

no-std sval_fmt

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

34 stable releases

new 2.17.0 Feb 7, 2026
2.16.0 Oct 19, 2025
2.14.1 Mar 24, 2025
2.13.2 Oct 15, 2024
2.0.2 Mar 24, 2023

#2653 in Encoding

Download history 228488/week @ 2025-10-18 280107/week @ 2025-10-25 307684/week @ 2025-11-01 355769/week @ 2025-11-08 365213/week @ 2025-11-15 231279/week @ 2025-11-22 265023/week @ 2025-11-29 465614/week @ 2025-12-06 407527/week @ 2025-12-13 142973/week @ 2025-12-20 112533/week @ 2025-12-27 378776/week @ 2026-01-03 505827/week @ 2026-01-10 597545/week @ 2026-01-17 526535/week @ 2026-01-24 417745/week @ 2026-01-31

2,123,050 downloads per month
Used in 9 crates (3 directly)

Apache-2.0 OR MIT

195KB
4K SLoC

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.


sval_fmt

Rust Latest version Documentation Latest

Format implementations of sval::Value using the std::fmt infrastructure.

Dependencies

~99KB