#serialization #value #format #sval #fmt #integration #no-std

no-std sval_fmt

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

27 stable releases

2.13.0 Mar 28, 2024
2.11.1 Jan 31, 2024
2.10.2 Oct 19, 2023
2.6.1 Jun 27, 2023
2.0.2 Mar 24, 2023

#1862 in Encoding

Download history 80898/week @ 2024-01-19 71774/week @ 2024-01-26 75992/week @ 2024-02-02 73986/week @ 2024-02-09 84997/week @ 2024-02-16 97583/week @ 2024-02-23 93577/week @ 2024-03-01 80933/week @ 2024-03-08 87559/week @ 2024-03-15 91550/week @ 2024-03-22 107717/week @ 2024-03-29 108026/week @ 2024-04-05 112261/week @ 2024-04-12 107523/week @ 2024-04-19 100040/week @ 2024-04-26 104092/week @ 2024-05-03

446,962 downloads per month
Used in 5 crates (2 directly)

Apache-2.0 OR MIT

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

~76KB