From bff90e8f9f1cb7d8cd7e40d487335e1be0a2c466 Mon Sep 17 00:00:00 2001 From: transistor Date: Wed, 20 Oct 2021 19:54:13 -0700 Subject: [PATCH] Updated cargo with workspaces --- Cargo.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1fe0ee7..fe558f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,13 @@ name = "moa" version = "0.1.0" edition = "2018" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[workspace] +members = [".", "frontends/moa-console", "frontends/moa-piston"] +default-members = ["frontends/moa-console"] + +[features] +tty = ["nix"] [dependencies] -nix = "0.23" +nix = { version = "0.23", optional = true } +