diff --git a/Cargo.toml b/Cargo.toml index f545c0b..c66a4d7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,2 @@ -[package] -name = "mirror-on-the-wall" -version = "0.1.0" -edition = "2021" - -[dependencies] -serde = { version = "1.0", features = ["derive"] } -speedy = "0.8" - -[dev-dependencies] -serde_json = "1.0" +[workspace] +members = ["crates/*"] diff --git a/crates/mirror-mirror/Cargo.toml b/crates/mirror-mirror/Cargo.toml new file mode 100644 index 0000000..387d8ee --- /dev/null +++ b/crates/mirror-mirror/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "mirror-mirror" +version = "0.1.0" +edition = "2021" + +[dependencies] +serde = { version = "1.0", features = ["derive"] } +speedy = "0.8" + +[dev-dependencies] +serde_json = "1.0" diff --git a/src/enum_.rs b/crates/mirror-mirror/src/enum_.rs similarity index 100% rename from src/enum_.rs rename to crates/mirror-mirror/src/enum_.rs diff --git a/src/get_field.rs b/crates/mirror-mirror/src/get_field.rs similarity index 100% rename from src/get_field.rs rename to crates/mirror-mirror/src/get_field.rs diff --git a/src/lib.rs b/crates/mirror-mirror/src/lib.rs similarity index 100% rename from src/lib.rs rename to crates/mirror-mirror/src/lib.rs diff --git a/src/struct_.rs b/crates/mirror-mirror/src/struct_.rs similarity index 100% rename from src/struct_.rs rename to crates/mirror-mirror/src/struct_.rs diff --git a/src/value.rs b/crates/mirror-mirror/src/value.rs similarity index 100% rename from src/value.rs rename to crates/mirror-mirror/src/value.rs