diff --git a/.gitignore b/.gitignore index ea8c4bf..1f4c2c7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ +/.cargo /target diff --git a/Cargo.lock b/Cargo.lock index 924af81..66427d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -32,6 +32,10 @@ dependencies = [ "rand_chacha", ] +[[package]] +name = "nonoka-bevy" +version = "0.1.0" + [[package]] name = "ppv-lite86" version = "0.2.16" diff --git a/Cargo.toml b/Cargo.toml index 82aaf1f..c882d8f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,16 @@ -[package] -name = "nonoka" +[workspace.package] version = "0.1.0" edition = "2021" authors = ["Mohammed Amar-Bensaber "] license = "AGPL-3.0-only" -[dependencies] +[workspace] +members = [ + "nonoka", + "nonoka-bevy", +] +resolver = "2" + +[workspace.dependencies] rand = "0.8.5" rand_chacha = "0.3.1" diff --git a/nonoka-bevy/Cargo.toml b/nonoka-bevy/Cargo.toml new file mode 100644 index 0000000..2265303 --- /dev/null +++ b/nonoka-bevy/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "nonoka-bevy" +version.workspace = true +edition.workspace = true +authors.workspace = true +license.workspace = true + +[dependencies] diff --git a/src/main.rs b/nonoka-bevy/src/main.rs similarity index 100% rename from src/main.rs rename to nonoka-bevy/src/main.rs diff --git a/nonoka/Cargo.toml b/nonoka/Cargo.toml new file mode 100644 index 0000000..ec7b64d --- /dev/null +++ b/nonoka/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "nonoka" +version.workspace = true +edition.workspace = true +authors.workspace = true +license.workspace = true + +[dependencies] +rand = { workspace = true } +rand_chacha = { workspace = true } diff --git a/src/gen.rs b/nonoka/src/gen.rs similarity index 100% rename from src/gen.rs rename to nonoka/src/gen.rs diff --git a/src/gen/basic.rs b/nonoka/src/gen/basic.rs similarity index 100% rename from src/gen/basic.rs rename to nonoka/src/gen/basic.rs diff --git a/src/grid.rs b/nonoka/src/grid.rs similarity index 100% rename from src/grid.rs rename to nonoka/src/grid.rs diff --git a/src/grid/rand.rs b/nonoka/src/grid/rand.rs similarity index 100% rename from src/grid/rand.rs rename to nonoka/src/grid/rand.rs diff --git a/src/lib.rs b/nonoka/src/lib.rs similarity index 100% rename from src/lib.rs rename to nonoka/src/lib.rs diff --git a/nonoka/src/main.rs b/nonoka/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/nonoka/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}