From f0db73b38ebcfacd541db43c4f6c44c0ef973c22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jind=C5=99ich=20Moravec?= Date: Mon, 11 Dec 2023 23:20:19 +0100 Subject: [PATCH] chore: create cargo workspace --- Cargo.toml | 13 +++++-------- minisql/Cargo.toml | 8 ++++++++ {src => minisql/src}/main.rs | 0 3 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 minisql/Cargo.toml rename {src => minisql/src}/main.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index df68143..3e0b7c2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,5 @@ -[package] -name = "minisql" -version = "0.1.0" -edition = "2021" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[dependencies] +[workspace] +resolver = "2" +members = [ + "minisql", +] diff --git a/minisql/Cargo.toml b/minisql/Cargo.toml new file mode 100644 index 0000000..df68143 --- /dev/null +++ b/minisql/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "minisql" +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/minisql/src/main.rs similarity index 100% rename from src/main.rs rename to minisql/src/main.rs