#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

#5 in #sval

Download history 176794/week @ 2024-12-15 49041/week @ 2024-12-22 98875/week @ 2024-12-29 262893/week @ 2025-01-05 245617/week @ 2025-01-12 196489/week @ 2025-01-19 215271/week @ 2025-01-26 221080/week @ 2025-02-02 209303/week @ 2025-02-09 206140/week @ 2025-02-16 243646/week @ 2025-02-23 240666/week @ 2025-03-02 241957/week @ 2025-03-09 227605/week @ 2025-03-16 257153/week @ 2025-03-23 237360/week @ 2025-03-30

970,125 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

~74KB