···62626363more recent todo
6464- [ ] add a zero-copy rkyv process function example
6565-- [ ] repo car slices
6666-- [ ] lazy-value stream (rkey -> CID diffing for tap-like `#sync` handling)
6565+- [ ] car slices
6666+- [ ] lazy-value stream (for rkey -> CID diffing; tap-like `#sync` handling; save a fjall record `.get` when not needed)
6767- [x] get an *emtpy* car for the test suite
6868- [x] implement a max size on disk limit
6969
+2
src/lib.rs
···90909191pub type Bytes = Vec<u8>;
92929393+pub type Rkey = String;
9494+9395pub(crate) use hashbrown::HashMap;
94969597#[doc = include_str!("../readme.md")]
+2-1
src/mst.rs
···33//! The primary aim is to work through the **tree** structure. Non-node blocks
44//! are left as raw bytes, for upper levels to parse into DAG-CBOR or whatever.
5566+use crate::Rkey;
67use cid::Cid;
78use serde::Deserialize;
89use sha2::{Digest, Sha256};
···6364#[derive(Debug)]
6465pub(crate) enum ThingKind {
6566 Tree,
6666- Value { rkey: String },
6767+ Value { rkey: Rkey },
6768}
68696970impl<'de> Deserialize<'de> for MstNode {