ceramicnetwork / rust-ceramic

Implementation of the Ceramic protocol in Rust
Other
37 stars 10 forks source link

refactor: create sync car crate #485

Closed nathanielc closed 2 months ago

nathanielc commented 2 months ago

Replaces iroh-car with ceramic-car that has both async and sync APIs. Additionally changes the Event::encode_car and Event::decode_car methods to be synchronous as we nearly always have the bytes in memory already and its cheap to copy them into memory when we do not.