Skip to content

Commit

Permalink
Codegen'd Rust/Arrow (de)ser 6: serialization (#2549)
Browse files Browse the repository at this point in the history
**Best reviewed on a commit-by-commit basis; in particular the `rerun
codegen` commit is nothing but generated code.**

Implements serialization for the Rust codegen backend.

---

- #2484
- #2485 
- #2487 
- #2545
- #2546
- #2549
- #2554
- #2570
- #2571

---

<!-- This line will get updated when the PR build summary job finishes.
-->
PR Build Summary: https://build.rerun.io/pr/2487

<!-- pr-link-docs:start -->
Docs preview: https://rerun.io/preview/87ca70a/docs
Examples preview: https://rerun.io/preview/87ca70a/examples
<!-- pr-link-docs:end -->
  • Loading branch information
teh-cmc committed Jun 30, 2023
1 parent 2e18cc1 commit b45a5bf
Show file tree
Hide file tree
Showing 21 changed files with 3,325 additions and 30 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions _typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ extend-exclude = [


[default.extend-words]
lod = "lod" # level-of-detail
teh = "teh" # part of @teh-cmc
ND = "ND" # np.NDArray
lod = "lod" # level-of-detail
teh = "teh" # part of @teh-cmc
ND = "ND" # np.NDArray
somes = "somes" # many `Some`

# American English:
grey = "gray"
Expand Down
3 changes: 3 additions & 0 deletions crates/re_types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ arrow2 = { workspace = true, features = [
"io_print",
"compute_concatenate",
] }
anyhow.workspace = true
bytemuck = { version = "1.11", features = ["derive", "extern_crate_alloc"] }
document-features = "0.2"
itertools.workspace = true
thiserror.workspace = true

# External (optional)
ecolor = { workspace = true, optional = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/re_types/source_hash.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This is a sha256 hash for all direct and indirect dependencies of this crate's build script.
# It can be safely removed at anytime to force the build script to run again.
# Check out build.rs to see how it's computed.
32b9eccc275777c29b252374ea6dcd69a3f1a48c42ae79aa5138ec2556526b52
70d271f9866784d9f0d25b818cd0d45fff1df72aec62ceae9f167f523a5c2d08

0 comments on commit b45a5bf

Please sign in to comment.