#serialization #no-std #sval

no-std sval_nested

A recursive variant of sval

8 stable releases

2.14.1 Mar 24, 2025
2.14.0 Jan 14, 2025
2.13.2 Oct 15, 2024
2.13.1 Sep 14, 2024
2.11.1 Jan 31, 2024

#2621 in Encoding

Download history 26015/week @ 2024-12-19 18673/week @ 2024-12-26 37823/week @ 2025-01-02 125822/week @ 2025-01-09 68555/week @ 2025-01-16 70543/week @ 2025-01-23 68200/week @ 2025-01-30 55097/week @ 2025-02-06 43550/week @ 2025-02-13 50584/week @ 2025-02-20 49240/week @ 2025-02-27 47691/week @ 2025-03-06 55125/week @ 2025-03-13 52028/week @ 2025-03-20 54886/week @ 2025-03-27 64120/week @ 2025-04-03

236,708 downloads per month
Used in 11 crates (2 directly)

Apache-2.0 OR MIT

360KB
10K SLoC

A variant of sval::Stream for cases where a recursive API is needed.

Limitations

Streaming via sval_nested will discard any sval::Stream::tag_hints. sval allows tag hints to appear anywhere in a stream, but this library enforces a stricter lifecycle, making those hints unreliable.

Default method implementations for the Stream trait.


sval_nested

Rust Latest version Documentation Latest

A variant of sval::Stream for cases where a recursive API is needed.

Dependencies