sval-rs / value-bag

Dynamic structured values for Rust
Apache License 2.0
27 stars 3 forks source link

Start sketching out an owned value #58

Closed KodrAus closed 1 year ago

KodrAus commented 1 year ago

Closes #50

This PR starts to spike out a Send + Sync + 'static owned value. For a start, we'll just unconditionally allocate serde_buf and sval_buffer into a Box to keep the size of the type down, but can freely optimize this internally.