Fast and robust atproto CAR file processing in rust

impl processable for string

Changed files
+6
src
+6
src/process.rs
··· 77 } 78 } 79 80 impl<Item: Sized + Processable> Processable for Vec<Item> { 81 fn get_size(&self) -> usize { 82 let slot_size = std::mem::size_of::<Item>();
··· 77 } 78 } 79 80 + impl Processable for String { 81 + fn get_size(&self) -> usize { 82 + self.capacity() 83 + } 84 + } 85 + 86 impl<Item: Sized + Processable> Processable for Vec<Item> { 87 fn get_size(&self) -> usize { 88 let slot_size = std::mem::size_of::<Item>();