diff --git a/build/rust/build.rs b/build/rust/build.rs index 74bc80b..c0eac72 100644 --- a/build/rust/build.rs +++ b/build/rust/build.rs @@ -14,9 +14,9 @@ fn main() -> Result<()> { ]; let inclusions = &[ - "../../shared", - "../../internal", - "../../external", + "../../proto/shared", + "../../proto/internal", + "../../proto/actions", ]; let out_path = "src/generated"; diff --git a/external/transfer.proto b/proto/actions/transfer.proto similarity index 87% rename from external/transfer.proto rename to proto/actions/transfer.proto index cea81bc..5021338 100644 --- a/external/transfer.proto +++ b/proto/actions/transfer.proto @@ -2,7 +2,9 @@ syntax = "proto3"; import "definitions.proto"; -package external; +option ruby_package = "Tucana::Actions"; + +package actions; message InformationRequest { string identifier = 1; diff --git a/internal/action.proto b/proto/internal/action.proto similarity index 92% rename from internal/action.proto rename to proto/internal/action.proto index 7d5fb00..989b6a4 100644 --- a/internal/action.proto +++ b/proto/internal/action.proto @@ -1,6 +1,8 @@ syntax = "proto3"; import "definitions.proto"; +option ruby_package = "Tucana::Internal"; + package internal; message ActionLogonRequest { diff --git a/internal/flow.proto b/proto/internal/flow.proto similarity index 100% rename from internal/flow.proto rename to proto/internal/flow.proto diff --git a/internal/flow_definition.proto b/proto/internal/flow_definition.proto similarity index 100% rename from internal/flow_definition.proto rename to proto/internal/flow_definition.proto diff --git a/internal/node.proto b/proto/internal/node.proto similarity index 100% rename from internal/node.proto rename to proto/internal/node.proto diff --git a/internal/ping.proto b/proto/internal/ping.proto similarity index 100% rename from internal/ping.proto rename to proto/internal/ping.proto diff --git a/shared/definitions.proto b/proto/shared/definitions.proto similarity index 78% rename from shared/definitions.proto rename to proto/shared/definitions.proto index 58028c2..c056c1f 100644 --- a/shared/definitions.proto +++ b/proto/shared/definitions.proto @@ -1,5 +1,7 @@ syntax = "proto3"; +option ruby_package = "Tucana::Shared"; + package shared; message RuntimeFunctionDefinition {