Skip to content

Commit

Permalink
Rename re_remote_store_types_builder to re_grpc_types_builder
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Nov 6, 2024
1 parent ace793e commit bd0f68a
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 26 deletions.
14 changes: 7 additions & 7 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ Of course, this will only take us so far. In the future we plan on caching queri
Here is an overview of the crates included in the project:

<picture>
<img src="https://static.rerun.io/crates/a1291641639f4dc3864e84259c70089a96bfcb1a/full.png" alt="">
<source media="(max-width: 480px)" srcset="https://static.rerun.io/crates/a1291641639f4dc3864e84259c70089a96bfcb1a/480w.png">
<source media="(max-width: 768px)" srcset="https://static.rerun.io/crates/a1291641639f4dc3864e84259c70089a96bfcb1a/768w.png">
<source media="(max-width: 1024px)" srcset="https://static.rerun.io/crates/a1291641639f4dc3864e84259c70089a96bfcb1a/1024w.png">
<source media="(max-width: 1200px)" srcset="https://static.rerun.io/crates/a1291641639f4dc3864e84259c70089a96bfcb1a/1200w.png">
<img src="https://static.rerun.io/crates/91c15c92ad604a46c0b45d6282d00d1995d6a79f/full.png" alt="">
<source media="(max-width: 480px)" srcset="https://static.rerun.io/crates/91c15c92ad604a46c0b45d6282d00d1995d6a79f/480w.png">
<source media="(max-width: 768px)" srcset="https://static.rerun.io/crates/91c15c92ad604a46c0b45d6282d00d1995d6a79f/768w.png">
<source media="(max-width: 1024px)" srcset="https://static.rerun.io/crates/91c15c92ad604a46c0b45d6282d00d1995d6a79f/1024w.png">
<source media="(max-width: 1200px)" srcset="https://static.rerun.io/crates/91c15c92ad604a46c0b45d6282d00d1995d6a79f/1200w.png">
</picture>


Expand Down Expand Up @@ -199,9 +199,9 @@ Update instructions:
|-------------------------------|------------------------------------------------------------------|
| re_build_info | Information about the build. Use together with re_build_tools |
| re_build_tools | build.rs helpers for generating build info |
| re_remote_store_types_builder | Generates code for Rerun remote store gRPC API |
| re_types_builder | Generates code for Rerun's SDKs from flatbuffers definitions. |
| re_dev_tools | Various tools for Rerun development. Each tool has a subcommand. |
| re_grpc_types_builder | Generates code for Rerun remote store gRPC API |
| re_types_builder | Generates code for Rerun's SDKs from flatbuffers definitions. |


### Utilities
Expand Down
18 changes: 9 additions & 9 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5709,6 +5709,15 @@ dependencies = [
"tonic-web-wasm-client",
]

[[package]]
name = "re_grpc_types_builder"
version = "0.20.0-alpha.1+dev"
dependencies = [
"camino",
"re_log",
"tonic-build",
]

[[package]]
name = "re_int_histogram"
version = "0.20.0-alpha.1+dev"
Expand Down Expand Up @@ -5897,15 +5906,6 @@ dependencies = [
"zerocopy",
]

[[package]]
name = "re_remote_store_types_builder"
version = "0.20.0-alpha.1+dev"
dependencies = [
"camino",
"re_log",
"tonic-build",
]

[[package]]
name = "re_renderer"
version = "0.20.0-alpha.1+dev"
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ version = "0.20.0-alpha.1+dev"
re_build_info = { path = "crates/build/re_build_info", version = "=0.20.0-alpha.1", default-features = false }
re_build_tools = { path = "crates/build/re_build_tools", version = "=0.20.0-alpha.1", default-features = false }
re_dev_tools = { path = "crates/build/re_dev_tools", version = "=0.20.0-alpha.1", default-features = false }
re_remote_store_types_builder = { path = "crates/build/re_remote_store_types_builder", version = "=0.20.0-alpha.1", default-features = false }
re_grpc_types_builder = { path = "crates/build/re_grpc_types_builder", version = "=0.20.0-alpha.1", default-features = false }
re_types_builder = { path = "crates/build/re_types_builder", version = "=0.20.0-alpha.1", default-features = false }

# crates/store:
Expand All @@ -48,11 +48,11 @@ re_data_source = { path = "crates/store/re_data_source", version = "=0.20.0-alph
re_dataframe = { path = "crates/store/re_dataframe", version = "=0.20.0-alpha.1", default-features = false }
re_entity_db = { path = "crates/store/re_entity_db", version = "=0.20.0-alpha.1", default-features = false }
re_format_arrow = { path = "crates/store/re_format_arrow", version = "=0.20.0-alpha.1", default-features = false }
re_grpc_client = { path = "crates/store/re_grpc_client", version = "=0.20.0-alpha.1", default-features = false }
re_grpc_types = { path = "crates/store/re_grpc_types", version = "=0.20.0-alpha.1", default-features = false }
re_log_encoding = { path = "crates/store/re_log_encoding", version = "=0.20.0-alpha.1", default-features = false }
re_log_types = { path = "crates/store/re_log_types", version = "=0.20.0-alpha.1", default-features = false }
re_query = { path = "crates/store/re_query", version = "=0.20.0-alpha.1", default-features = false }
re_grpc_client = { path = "crates/store/re_grpc_client", version = "=0.20.0-alpha.1", default-features = false }
re_grpc_types = { path = "crates/store/re_grpc_types", version = "=0.20.0-alpha.1", default-features = false }
re_sdk_comms = { path = "crates/store/re_sdk_comms", version = "=0.20.0-alpha.1", default-features = false }
re_types = { path = "crates/store/re_types", version = "=0.20.0-alpha.1", default-features = false }
re_types_blueprint = { path = "crates/store/re_types_blueprint", version = "=0.20.0-alpha.1", default-features = false }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "re_remote_store_types_builder"
name = "re_grpc_types_builder"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# re_remote_store_types_builder
# re_grpc_types_builder

Part of the [`rerun`](https://github.com/rerun-io/rerun) family of crates.

[![Latest version](https://img.shields.io/crates/v/re_remote_store_types_builder.svg)](https://crates.io/crates/re_remote_store_types_builder?speculative-link)
[![Documentation](https://docs.rs/re_remote_store_types_builder/badge.svg)](https://docs.rs/re_remote_store_types_builder?speculative-link)
[![Latest version](https://img.shields.io/crates/v/re_grpc_types_builder.svg)](https://crates.io/crates/re_grpc_types_builder?speculative-link)
[![Documentation](https://docs.rs/re_grpc_types_builder/badge.svg)](https://docs.rs/re_grpc_types_builder?speculative-link)
![MIT](https://img.shields.io/badge/license-MIT-blue.svg)
![Apache](https://img.shields.io/badge/license-Apache-blue.svg)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fn main() {
"Running codegen for storage node types",
);

re_remote_store_types_builder::generate_rust_code(
re_grpc_types_builder::generate_rust_code(
definitions_dir_path,
&[PROTOBUF_REMOTE_STORE_V0_RELATIVE_PATH],
rust_generated_output_dir_path,
Expand Down
2 changes: 1 addition & 1 deletion crates/store/re_grpc_types/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! This crate contains generated types for the remote store gRPC service API.
//! Generation is done using the `re_remote_store_types_builder` crate.
//! Generation is done using the `re_grpc_types_builder` crate.
//!
//! We want clear separation between 'internal' types and gRPC types and don't want
//! to use gRPC types in the rerun viewer codebase. That's why we implement all the
Expand Down
2 changes: 1 addition & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ check-env = "python scripts/check_env.py"
codegen = "cargo --quiet run --package re_types_builder -- "

# Run the codegen for remote store types.
codegen-rstore = "cargo --quiet run --package re_remote_store_types_builder && pixi run -e cpp format"
codegen-rstore = "cargo --quiet run --package re_grpc_types_builder && pixi run -e cpp format"

# Generate the Rerun CLI manual.

Expand Down

0 comments on commit bd0f68a

Please sign in to comment.