From dc09d804eff3a466ec208a58d263c0673fac3e94 Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Sat, 20 Apr 2024 01:37:57 -0700 Subject: [PATCH] Split into workspace --- Cargo.lock | 2 +- Cargo.toml | 11 +++++------ schala-main/Cargo.toml | 8 ++++++++ {src => schala-main/src}/main.rs | 0 4 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 schala-main/Cargo.toml rename {src => schala-main/src}/main.rs (100%) diff --git a/Cargo.lock b/Cargo.lock index 8d7d961..6977d21 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3,5 +3,5 @@ version = 3 [[package]] -name = "schala" +name = "schala-main" version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml index 72c18ed..cec9634 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,5 @@ -[package] -name = "schala" -version = "0.1.0" -authors = ["greg "] -edition = "2021" - +[workspace] +members = [ + "schala-main" +] +resolver = "2" diff --git a/schala-main/Cargo.toml b/schala-main/Cargo.toml new file mode 100644 index 0000000..604de72 --- /dev/null +++ b/schala-main/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "schala-main" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/src/main.rs b/schala-main/src/main.rs similarity index 100% rename from src/main.rs rename to schala-main/src/main.rs