#serialization #no-std

no-std sval_buffer

Value buffering for sval

16 stable releases

new 2.9.1 Sep 29, 2023
2.9.0 Sep 28, 2023
2.6.1 Jun 27, 2023
2.5.0 May 29, 2023
2.0.2 Mar 24, 2023

#1615 in Encoding

Download history 25253/week @ 2023-06-09 20356/week @ 2023-06-16 22151/week @ 2023-06-23 21742/week @ 2023-06-30 25382/week @ 2023-07-07 25247/week @ 2023-07-14 28185/week @ 2023-07-21 31851/week @ 2023-07-28 30589/week @ 2023-08-04 31446/week @ 2023-08-11 33146/week @ 2023-08-18 55647/week @ 2023-08-25 49797/week @ 2023-09-01 53207/week @ 2023-09-08 45440/week @ 2023-09-15 42560/week @ 2023-09-22

200,813 downloads per month
Used in 5 crates (3 directly)

Apache-2.0 OR MIT

215KB
6K SLoC

sval_buffer

Rust Latest version Documentation Latest

Support for buffering implementations of sval::Value.


lib.rs:

Buffering support for sval.

This crate provides the ValueBuf type, which can buffer a flat stream of data into a tree of borrowed values.

Some functionality requires the alloc Cargo feature to be enabled. Rather than conditionally compile these methods, this library stubs out functionality when an allocator isn't available.

Dependencies