From ccacb5ccfe16cfd6b0291f04013401cd6035fd98 Mon Sep 17 00:00:00 2001 From: Alix ANNERAUD Date: Fri, 7 Jun 2024 00:48:36 +0200 Subject: [PATCH] Move Task into modules as crate --- Modules/Task/Cargo.toml | 6 ++++++ {src/Task => Modules/Task/src}/Manager.rs | 0 {src/Task => Modules/Task/src}/Pipe.rs | 0 {src/Task => Modules/Task/src}/Prelude.rs | 0 {src/Task => Modules/Task/src}/Task.rs | 0 {src/Task => Modules/Task/src}/Thread.rs | 0 src/Task/mod.rs => Modules/Task/src/lib.rs | 0 7 files changed, 6 insertions(+) create mode 100644 Modules/Task/Cargo.toml rename {src/Task => Modules/Task/src}/Manager.rs (100%) rename {src/Task => Modules/Task/src}/Pipe.rs (100%) rename {src/Task => Modules/Task/src}/Prelude.rs (100%) rename {src/Task => Modules/Task/src}/Task.rs (100%) rename {src/Task => Modules/Task/src}/Thread.rs (100%) rename src/Task/mod.rs => Modules/Task/src/lib.rs (100%) diff --git a/Modules/Task/Cargo.toml b/Modules/Task/Cargo.toml new file mode 100644 index 0000000..18e0803 --- /dev/null +++ b/Modules/Task/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "Task" +version = "0.1.0" +edition = "2021" + +[dependencies] diff --git a/src/Task/Manager.rs b/Modules/Task/src/Manager.rs similarity index 100% rename from src/Task/Manager.rs rename to Modules/Task/src/Manager.rs diff --git a/src/Task/Pipe.rs b/Modules/Task/src/Pipe.rs similarity index 100% rename from src/Task/Pipe.rs rename to Modules/Task/src/Pipe.rs diff --git a/src/Task/Prelude.rs b/Modules/Task/src/Prelude.rs similarity index 100% rename from src/Task/Prelude.rs rename to Modules/Task/src/Prelude.rs diff --git a/src/Task/Task.rs b/Modules/Task/src/Task.rs similarity index 100% rename from src/Task/Task.rs rename to Modules/Task/src/Task.rs diff --git a/src/Task/Thread.rs b/Modules/Task/src/Thread.rs similarity index 100% rename from src/Task/Thread.rs rename to Modules/Task/src/Thread.rs diff --git a/src/Task/mod.rs b/Modules/Task/src/lib.rs similarity index 100% rename from src/Task/mod.rs rename to Modules/Task/src/lib.rs