From 13f6ffebaffae5ffd56c34d65db14d241f3d3d8a Mon Sep 17 00:00:00 2001 From: Austin Liu Date: Fri, 12 Apr 2024 09:30:37 +0800 Subject: [PATCH] re-org Signed-off-by: Austin Liu --- flyteidl/{gen/pb_rust => }/Cargo.lock | 0 flyteidl/{gen/pb_rust => }/Cargo.toml | 0 flyteidl/gen/pb_rust/lib.rs | 27 --------------------------- flyteidl/lib.rs | 27 +++++++++++++++++++++++++++ 4 files changed, 27 insertions(+), 27 deletions(-) rename flyteidl/{gen/pb_rust => }/Cargo.lock (100%) rename flyteidl/{gen/pb_rust => }/Cargo.toml (100%) delete mode 100644 flyteidl/gen/pb_rust/lib.rs create mode 100644 flyteidl/lib.rs diff --git a/flyteidl/gen/pb_rust/Cargo.lock b/flyteidl/Cargo.lock similarity index 100% rename from flyteidl/gen/pb_rust/Cargo.lock rename to flyteidl/Cargo.lock diff --git a/flyteidl/gen/pb_rust/Cargo.toml b/flyteidl/Cargo.toml similarity index 100% rename from flyteidl/gen/pb_rust/Cargo.toml rename to flyteidl/Cargo.toml diff --git a/flyteidl/gen/pb_rust/lib.rs b/flyteidl/gen/pb_rust/lib.rs deleted file mode 100644 index 29f4163506..0000000000 --- a/flyteidl/gen/pb_rust/lib.rs +++ /dev/null @@ -1,27 +0,0 @@ -pub mod datacatalog { - include!("datacatalog.rs"); -} -pub mod flyteidl { - - pub mod admin { - include!("flyteidl.admin.rs"); - } - pub mod cache { - include!("flyteidl.cacheservice.rs"); - } - pub mod core { - include!("flyteidl.core.rs"); - } - pub mod event { - include!("flyteidl.event.rs"); - } - pub mod plugins { - include!("flyteidl.plugins.rs"); - pub mod kubeflow { - include!("flyteidl.plugins.kubeflow.rs"); - } - } - pub mod service { - include!("flyteidl.service.rs"); - } -} diff --git a/flyteidl/lib.rs b/flyteidl/lib.rs new file mode 100644 index 0000000000..b18f62d254 --- /dev/null +++ b/flyteidl/lib.rs @@ -0,0 +1,27 @@ +pub mod datacatalog { + include!("gen/pb_rust/datacatalog.rs"); +} +pub mod flyteidl { + + pub mod admin { + include!("gen/pb_rust/flyteidl.admin.rs"); + } + pub mod cache { + include!("gen/pb_rust/flyteidl.cacheservice.rs"); + } + pub mod core { + include!("gen/pb_rust/flyteidl.core.rs"); + } + pub mod event { + include!("gen/pb_rust/flyteidl.event.rs"); + } + pub mod plugins { + include!("gen/pb_rust/flyteidl.plugins.rs"); + pub mod kubeflow { + include!("gen/pb_rust/flyteidl.plugins.kubeflow.rs"); + } + } + pub mod service { + include!("gen/pb_rust/flyteidl.service.rs"); + } +}