vecdb_derive
Derive macros for vecdb compression support.
Automatically implements compression traits for custom wrapper types, enabling them to work with CompressedVec.
Install
Usage
use Compressable;
;
// Now works with CompressedVec
let mut vec: = ...;
vec.push;
#[derive(Compressable)]
Implements Compressable for single-field tuple structs. The wrapper inherits compression characteristics from the inner type.
Requirements:
- Must be a tuple struct with exactly one field
- Inner type must implement
Compressable