Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publishable re_protos_builder #8157

Merged
merged 2 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions crates/build/re_protos_builder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
[package]
name = "re_protos_builder"
authors.workspace = true
description = "Code generation for Rerun's Protobuf and gRPC definitions."
edition.workspace = true
homepage.workspace = true
include.workspace = true
license.workspace = true
publish = false
publish = true
readme = "README.md"
repository.workspace = true
rust-version.workspace = true
version.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lints]
workspace = true


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


[dependencies]
re_log = { workspace = true, features = ["setup"] }
Expand All @@ -20,6 +29,3 @@ camino.workspace = true
tonic-build = { workspace = true, default-features = false, features = [
"prost",
] }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion crates/build/re_protos_builder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ Part of the [`rerun`](https://github.com/rerun-io/rerun) family of crates.
![MIT](https://img.shields.io/badge/license-MIT-blue.svg)
![Apache](https://img.shields.io/badge/license-Apache-blue.svg)

This crate implements Rerun's code generation for the remote store node gRPC API definition.
Code generation for Rerun's Protobuf and gRPC definitions.

You can generate the code with `pixi run codegen-rstore`.
6 changes: 4 additions & 2 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,10 @@ check-env = "python scripts/check_env.py"
# Run the codegen. Optionally pass `--profile` argument if you want.
codegen = "cargo --quiet run --package re_types_builder -- "

# Run the codegen for remote store types.
codegen-rstore = "cargo --quiet run --package re_protos_builder && pixi run -e cpp format"
# Deprecated: use `codegen-proto` instead.
codegen-rstore = "echo '⚠️ Deprecated: use `codegen-proto` instead ⚠️' ; pixi run codegen-proto"
# Run the codegen for our Protobuf/gRPC definitions.
codegen-proto = "cargo --quiet run --package re_protos_builder && pixi run -e cpp format"

# Generate the Rerun CLI manual.

Expand Down
Loading