Skip to content
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ Cargo.lock

/.idea/
*.iml

# Ignore generated protobuf files
src/protos/*.rs
!src/protos/mod.rs
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// Just build the message structs.
.build_server(false)
.build_client(false)
.out_dir("src/protos")
.compile(
&["protos/local/core_interface.proto"],
&["protos/api_upstream", "protos/local"],
Expand Down
28 changes: 14 additions & 14 deletions src/protos/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pub mod coresdk {
tonic::include_proto!("coresdk");
include!("coresdk.rs");
}

// No need to lint these
Expand All @@ -9,67 +9,67 @@ pub mod temporal {
pub mod api {
pub mod command {
pub mod v1 {
tonic::include_proto!("temporal.api.command.v1");
include!("temporal.api.command.v1.rs");
}
}
pub mod enums {
pub mod v1 {
tonic::include_proto!("temporal.api.enums.v1");
include!("temporal.api.enums.v1.rs");
}
}
pub mod failure {
pub mod v1 {
tonic::include_proto!("temporal.api.failure.v1");
include!("temporal.api.failure.v1.rs");
}
}
pub mod filter {
pub mod v1 {
tonic::include_proto!("temporal.api.filter.v1");
include!("temporal.api.filter.v1.rs");
}
}
pub mod common {
pub mod v1 {
tonic::include_proto!("temporal.api.common.v1");
include!("temporal.api.common.v1.rs");
}
}
pub mod history {
pub mod v1 {
tonic::include_proto!("temporal.api.history.v1");
include!("temporal.api.history.v1.rs");
}
}
pub mod namespace {
pub mod v1 {
tonic::include_proto!("temporal.api.namespace.v1");
include!("temporal.api.namespace.v1.rs");
}
}
pub mod query {
pub mod v1 {
tonic::include_proto!("temporal.api.query.v1");
include!("temporal.api.query.v1.rs");
}
}
pub mod replication {
pub mod v1 {
tonic::include_proto!("temporal.api.replication.v1");
include!("temporal.api.replication.v1.rs");
}
}
pub mod taskqueue {
pub mod v1 {
tonic::include_proto!("temporal.api.taskqueue.v1");
include!("temporal.api.taskqueue.v1.rs");
}
}
pub mod version {
pub mod v1 {
tonic::include_proto!("temporal.api.version.v1");
include!("temporal.api.version.v1.rs");
}
}
pub mod workflow {
pub mod v1 {
tonic::include_proto!("temporal.api.workflow.v1");
include!("temporal.api.workflow.v1.rs");
}
}
pub mod workflowservice {
pub mod v1 {
tonic::include_proto!("temporal.api.workflowservice.v1");
include!("temporal.api.workflowservice.v1.rs");
}
}
}
Expand Down