Skip to content

Commit

Permalink
Implement re_grpc_server
Browse files Browse the repository at this point in the history
  • Loading branch information
jprochazk committed Jan 8, 2025
1 parent 799ed2f commit 796f736
Show file tree
Hide file tree
Showing 6 changed files with 621 additions and 0 deletions.
1 change: 1 addition & 0 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ Update instructions:
| re_data_loader | Handles loading of Rerun data from file using data loader plugins |
| re_data_source | Handles loading of Rerun data from different sources |
| re_grpc_client | Communicate with the Rerun Data Platform over gRPC |
| re_grpc_server | Host an in-memory Storage Node |
| re_sdk_comms | TCP communication between Rerun SDK and Rerun Server |
| re_web_viewer_server | Serves the Rerun web viewer (Wasm and HTML) over HTTP |
| re_ws_comms | WebSocket communication library (encoding, decoding, client, server) between a Rerun server and Viewer |
Expand Down
28 changes: 28 additions & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5617,6 +5617,7 @@ dependencies = [
name = "re_build_info"
version = "0.22.0-alpha.1+dev"
dependencies = [
"re_byte_size",
"serde",
]

Expand Down Expand Up @@ -6005,6 +6006,32 @@ dependencies = [
"wasm-bindgen-futures",
]

[[package]]
name = "re_grpc_server"
version = "0.22.0-alpha.1+dev"
dependencies = [
"prost",
"re_build_info",
"re_byte_size",
"re_chunk",
"re_error",
"re_format",
"re_log",
"re_log_encoding",
"re_log_types",
"re_memory",
"re_protos",
"re_smart_channel",
"re_tracing",
"re_types",
"thiserror 1.0.65",
"tokio",
"tokio-stream",
"tokio-util",
"tonic",
"url",
]

[[package]]
name = "re_int_histogram"
version = "0.22.0-alpha.1+dev"
Expand Down Expand Up @@ -8820,6 +8847,7 @@ dependencies = [
"futures-core",
"pin-project-lite",
"tokio",
"tokio-util",
]

[[package]]
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ tinyvec = { version = "1.6", features = ["alloc", "rustc_1_55"] }
tobj = "4.0"
tokio = { version = "1.40.0", default-features = false }
tokio-stream = "0.1.16"
tokio-util = { version = "0.7.12", default-features = false }
toml = { version = "0.8.10", default-features = false }
tonic = { version = "0.12.3", default-features = false }
tonic-build = { version = "0.12.3", default-features = false }
Expand Down
44 changes: 44 additions & 0 deletions crates/store/re_grpc_server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[package]
name = "re_grpc_server"
authors.workspace = true
description = "gRCP server for the Rerun Data Platform gRPC protocol"
edition.workspace = true
homepage.workspace = true
include.workspace = true
license.workspace = true
publish = true
readme = "README.md"
repository.workspace = true
rust-version.workspace = true
version.workspace = true

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true


[dependencies]
re_build_info.workspace = true
re_byte_size.workspace = true
re_chunk.workspace = true
re_error.workspace = true
re_format.workspace = true
re_log.workspace = true
re_log_encoding = { workspace = true, features = ["encoder", "decoder"] }
re_log_types.workspace = true
re_memory.workspace = true
re_protos.workspace = true
re_smart_channel.workspace = true
re_tracing.workspace = true
re_types.workspace = true

# External
prost.workspace = true
thiserror.workspace = true
tokio.workspace = true
tokio-stream = { workspace = true, features = ["sync"] }
tokio-util.workspace = true
tonic = { workspace = true, default-features = false, features = ["transport"] }
url.workspace = true
10 changes: 10 additions & 0 deletions crates/store/re_grpc_server/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# re_grpc_server

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

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

Server implementation of an in-memory Storage Node.
Loading

0 comments on commit 796f736

Please sign in to comment.