Skip to content

Commit 7929d56

Browse files
committed
RRD footers: everything framing
1 parent 95e5494 commit 7929d56

File tree

19 files changed

+758
-120
lines changed

19 files changed

+758
-120
lines changed

Cargo.lock

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9070,10 +9070,13 @@ dependencies = [
90709070
"bytes",
90719071
"criterion",
90729072
"ehttp",
9073+
"insta",
9074+
"itertools 0.14.0",
90739075
"js-sys",
90749076
"lz4_flex 0.12.0",
90759077
"mimalloc",
90769078
"parking_lot",
9079+
"re_arrow_util",
90779080
"re_build_info",
90789081
"re_chunk",
90799082
"re_log",
@@ -9083,6 +9086,8 @@ dependencies = [
90839086
"re_sorbet",
90849087
"re_tracing",
90859088
"re_types",
9089+
"re_types_core",
9090+
"sha2",
90869091
"similar-asserts",
90879092
"thiserror 2.0.17",
90889093
"tokio",
@@ -9092,6 +9097,7 @@ dependencies = [
90929097
"wasm-bindgen-futures",
90939098
"web-sys",
90949099
"web-time",
9100+
"xxhash-rust",
90959101
]
90969102

90979103
[[package]]

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ wgpu = { version = "27.0.1", default-features = false, features = [
427427
"fragile-send-sync-non-atomic-wasm",
428428
] }
429429
xshell = "0.2.7"
430+
xxhash-rust = { version = "0.8", features = ["xxh32"] }
430431

431432
# ---------------------------------------------------------------------------------
432433
[profile]

crates/store/re_log_encoding/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ stream_from_http = [
4242
[dependencies]
4343

4444
# Rerun:
45+
re_arrow_util.workspace = true
4546
re_build_info.workspace = true
4647
re_chunk.workspace = true
4748
re_log_types.workspace = true
@@ -50,13 +51,17 @@ re_protos.workspace = true
5051
re_smart_channel.workspace = true
5152
re_sorbet.workspace = true
5253
re_tracing.workspace = true
54+
re_types_core.workspace = true
5355

5456
# External:
5557
arrow = { workspace = true, features = ["ipc"] }
58+
itertools.workspace = true
5659
lz4_flex = { workspace = true }
5760
parking_lot.workspace = true
61+
sha2.workspace = true
5862
thiserror.workspace = true
5963
tracing.workspace = true
64+
xxhash-rust.workspace = true
6065

6166
# Optional external dependencies:
6267
bytes = { workspace = true, optional = true }
@@ -76,6 +81,7 @@ web-sys = { workspace = true, optional = true, features = ["Window", "MessageEve
7681
re_types.workspace = true
7782

7883
criterion.workspace = true
84+
insta.workspace = true
7985
mimalloc.workspace = true
8086
similar-asserts.workspace = true
8187

crates/store/re_log_encoding/src/rrd/decoder/iterator.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ impl<T: DecoderEntrypoint, R: std::io::BufRead> std::iter::Iterator for DecoderI
139139

140140
// …and the underlying decoder already considers that it's done (i.e. it's
141141
// waiting for a whole new stream to begin): time to stop.
142-
Ok(None) if self.decoder.state == DecoderState::StreamHeader => {
142+
Ok(None) if self.decoder.state == DecoderState::WaitingForStreamHeader => {
143143
return None;
144144
}
145145

@@ -570,3 +570,4 @@ mod tests {
570570
}
571571
}
572572
}
573+

0 commit comments

Comments
 (0)