#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

#2692 in Encoding

Download history 67802/week @ 2025-02-01 48434/week @ 2025-02-08 44999/week @ 2025-02-15 50403/week @ 2025-02-22 48169/week @ 2025-03-01 50691/week @ 2025-03-08 53728/week @ 2025-03-15 55231/week @ 2025-03-22 56628/week @ 2025-03-29 64005/week @ 2025-04-05 55256/week @ 2025-04-12 48490/week @ 2025-04-19 48712/week @ 2025-04-26 49705/week @ 2025-05-03 51111/week @ 2025-05-10 55612/week @ 2025-05-17

214,160 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