servo / rust-smallvec

"Small vector" optimization for Rust: store up to a small number of items on the stack
Apache License 2.0
1.35k stars 145 forks source link

Add a `borsh` feature to get Borsh traits implemented #291

Open tiram88 opened 1 year ago

tiram88 commented 1 year ago

When this optional dependency is enabled, SmallVec implements the borsh::BorshSerialize, borsh::BorshDeserialize and borsh::BorshSchema traits.