Fast and robust atproto CAR file processing in rust
14
fork

Configure Feed

Select the types of activity you want to include in your feed.

oops actually expose the height (bump alpha)

phil 98beab07 3400d034

+10 -6
+1 -1
Cargo.lock
··· 2741 2741 2742 2742 [[package]] 2743 2743 name = "repo-stream" 2744 - version = "0.5.0-alpha.4" 2744 + version = "0.5.0-alpha.5" 2745 2745 dependencies = [ 2746 2746 "async-channel", 2747 2747 "cid",
+1 -1
Cargo.toml
··· 1 1 [package] 2 2 name = "repo-stream" 3 - version = "0.5.0-alpha.4" 3 + version = "0.5.0-alpha.5" 4 4 edition = "2024" 5 5 license = "MIT OR Apache-2.0" 6 6 description = "Fast and robust atproto CAR file processing"
+7
src/mem.rs
··· 181 181 } 182 182 183 183 impl MemCar { 184 + /// The total mst height 185 + /// 186 + /// Defined by to the root node's layer, computed from its entry keys 187 + pub fn height(&self) -> u32 { 188 + self.walker.height() 189 + } 190 + 184 191 /// Seek forward to the first record at or after `target`. 185 192 /// 186 193 /// Uses the MST structure to skip entire subtrees efficiently.
+1 -4
src/walk.rs
··· 151 151 } 152 152 } 153 153 154 - /// The total mst height 155 - /// 156 - /// Defined by to the root node's layer, computed from its entry keys 157 - pub fn height(&self) -> u32 { 154 + pub(crate) fn height(&self) -> u32 { 158 155 self.root_layer 159 156 } 160 157