#serialization #no-std #sval #value

no-std sval_fmt

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

31 stable releases

2.14.1 Mar 24, 2025
2.13.2 Oct 15, 2024
2.13.0 Mar 28, 2024
2.10.2 Oct 19, 2023
2.0.2 Mar 24, 2023

#2458 in Encoding

Download history 222108/week @ 2025-02-01 208424/week @ 2025-02-08 206413/week @ 2025-02-15 244613/week @ 2025-02-22 240748/week @ 2025-03-01 241026/week @ 2025-03-08 228783/week @ 2025-03-15 257209/week @ 2025-03-22 237400/week @ 2025-03-29 259761/week @ 2025-04-05 214924/week @ 2025-04-12 210773/week @ 2025-04-19 178396/week @ 2025-04-26 204577/week @ 2025-05-03 234679/week @ 2025-05-10 242983/week @ 2025-05-17

899,533 downloads per month
Used in 9 crates (3 directly)

Apache-2.0 OR MIT

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

~73KB