27 stable releases

new 2.14.0 Jan 14, 2025
2.13.2 Oct 15, 2024
2.13.1 Sep 14, 2024
2.13.0 Mar 28, 2024
2.0.2 Mar 24, 2023

#2221 in Encoding

Download history 213816/week @ 2024-09-25 232761/week @ 2024-10-02 237687/week @ 2024-10-09 223864/week @ 2024-10-16 228909/week @ 2024-10-23 210152/week @ 2024-10-30 224650/week @ 2024-11-06 208944/week @ 2024-11-13 193754/week @ 2024-11-20 105508/week @ 2024-11-27 168727/week @ 2024-12-04 212830/week @ 2024-12-11 125694/week @ 2024-12-18 50337/week @ 2024-12-25 150233/week @ 2025-01-01 239420/week @ 2025-01-08

601,427 downloads per month
Used in 14 crates (4 directly)

Apache-2.0 OR MIT

230KB
6.5K 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