From f4412e1c43976d7a992bf3456876f379f79b614b Mon Sep 17 00:00:00 2001 From: Antonio Antonino Date: Mon, 7 Apr 2025 15:00:33 +0200 Subject: [PATCH] Initial project structure --- .gitignore | 1 + sz-poc-offsite-2025/Cargo.toml | 13 +++++++++++++ sz-poc-offsite-2025/node/Cargo.toml | 6 ++++++ sz-poc-offsite-2025/node/src/main.rs | 2 ++ 4 files changed, 22 insertions(+) create mode 100644 sz-poc-offsite-2025/Cargo.toml create mode 100644 sz-poc-offsite-2025/node/Cargo.toml create mode 100644 sz-poc-offsite-2025/node/src/main.rs diff --git a/.gitignore b/.gitignore index 1e7caa9..8b98abd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ Cargo.lock target/ +.vscode \ No newline at end of file diff --git a/sz-poc-offsite-2025/Cargo.toml b/sz-poc-offsite-2025/Cargo.toml new file mode 100644 index 0000000..fcc98c6 --- /dev/null +++ b/sz-poc-offsite-2025/Cargo.toml @@ -0,0 +1,13 @@ +[workspace] +members = ["node"] +resolver = "3" + +[workspace.package] +edition = "2024" + +[workspace.dependencies] +# Internal +node = { path = "node" } + +# External +tokio = { version = "1.0" } diff --git a/sz-poc-offsite-2025/node/Cargo.toml b/sz-poc-offsite-2025/node/Cargo.toml new file mode 100644 index 0000000..cfdc2e1 --- /dev/null +++ b/sz-poc-offsite-2025/node/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "node" +edition = { workspace = true } + +[dependencies] +tokio = { workspace = true, features = ["full"] } diff --git a/sz-poc-offsite-2025/node/src/main.rs b/sz-poc-offsite-2025/node/src/main.rs new file mode 100644 index 0000000..7f755fb --- /dev/null +++ b/sz-poc-offsite-2025/node/src/main.rs @@ -0,0 +1,2 @@ +#[tokio::main] +async fn main() {}