summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml19
-rw-r--r--assertions/Cargo.toml3
-rw-r--r--data_model/Cargo.toml5
-rw-r--r--sync/Cargo.toml3
-rw-r--r--sys_util/Cargo.toml12
-rw-r--r--sys_util/poll_token_derive/Cargo.toml3
-rw-r--r--syscall_defines/Cargo.toml3
7 files changed, 42 insertions, 6 deletions
diff --git a/Cargo.toml b/Cargo.toml
index c8f7473..7ab3b16 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,6 +10,13 @@ overflow-checks = true
 
 [workspace]
 members = ["9s", "qcow_utils"]
+exclude = [
+    "assertions",
+    "data_model",
+    "sync",
+    "sys_util",
+    "syscall_defines",
+]
 
 [features]
 plugin = ["plugin_proto", "crosvm_plugin", "protobuf"]
@@ -28,7 +35,7 @@ io_jail = { path = "io_jail" }
 kvm = { path = "kvm" }
 kvm_sys = { path = "kvm_sys" }
 msg_socket = { path = "msg_socket" }
-sys_util = { path = "sys_util" }
+sys_util = "*"
 usb_util = { path = "usb_util", optional = true }
 kernel_cmdline = { path = "kernel_cmdline" }
 kernel_loader = { path = "kernel_loader" }
@@ -37,7 +44,7 @@ byteorder = "=1.1.0"
 net_util = { path = "net_util" }
 vhost = { path = "vhost" }
 vm_control = { path = "vm_control" }
-data_model = { path = "data_model" }
+data_model = "*"
 qcow = { path = "qcow" }
 plugin_proto = { path = "plugin_proto", optional = true }
 crosvm_plugin = { path = "crosvm_plugin", optional = true }
@@ -54,4 +61,12 @@ x86_64 = { path = "x86_64" }
 aarch64 = { path = "aarch64" }
 
 [dev-dependencies]
+sys_util = "*"
+
+[patch.crates-io]
+assertions = { path = "assertions" }
+data_model = { path = "data_model" }
+poll_token_derive = { path = "sys_util/poll_token_derive" }
+sync = { path = "sync" }
 sys_util = { path = "sys_util" }
+syscall_defines = { path = "syscall_defines" }
diff --git a/assertions/Cargo.toml b/assertions/Cargo.toml
index 36f9beb..6d40a52 100644
--- a/assertions/Cargo.toml
+++ b/assertions/Cargo.toml
@@ -2,3 +2,6 @@
 name = "assertions"
 version = "0.1.0"
 authors = ["The Chromium OS Authors"]
+include = ["src/**/*", "Cargo.toml"]
+
+[workspace]
diff --git a/data_model/Cargo.toml b/data_model/Cargo.toml
index 549d817..1b30aca 100644
--- a/data_model/Cargo.toml
+++ b/data_model/Cargo.toml
@@ -2,6 +2,9 @@
 name = "data_model"
 version = "0.1.0"
 authors = ["The Chromium OS Authors"]
+include = ["src/**/*", "Cargo.toml"]
 
 [dependencies]
-assertions = { path = "../assertions" }
+assertions = "*"
+
+[workspace]
diff --git a/sync/Cargo.toml b/sync/Cargo.toml
index d8ce024..b74e672 100644
--- a/sync/Cargo.toml
+++ b/sync/Cargo.toml
@@ -2,3 +2,6 @@
 name = "sync"
 version = "0.1.0"
 authors = ["The Chromium OS Authors"]
+include = ["src/**/*", "Cargo.toml"]
+
+[workspace]
diff --git a/sys_util/Cargo.toml b/sys_util/Cargo.toml
index e54b490..1f8274f 100644
--- a/sys_util/Cargo.toml
+++ b/sys_util/Cargo.toml
@@ -2,10 +2,16 @@
 name = "sys_util"
 version = "0.1.0"
 authors = ["The Chromium OS Authors"]
+include = ["src/**/*", "Cargo.toml"]
 
 [dependencies]
-data_model = { path = "../data_model" }
+data_model = "*"
 libc = "*"
-syscall_defines = { path = "../syscall_defines" }
+syscall_defines = "*"
+poll_token_derive = "*"
+sync = "*"
+
+[workspace]
+
+[patch.crates-io]
 poll_token_derive = { path = "poll_token_derive" }
-sync = { path = "../sync" }
diff --git a/sys_util/poll_token_derive/Cargo.toml b/sys_util/poll_token_derive/Cargo.toml
index 8610ee3..7e7b424 100644
--- a/sys_util/poll_token_derive/Cargo.toml
+++ b/sys_util/poll_token_derive/Cargo.toml
@@ -2,6 +2,7 @@
 name = "poll_token_derive"
 version = "0.1.0"
 authors = ["The Chromium OS Authors"]
+include = ["*.rs", "Cargo.toml"]
 
 [lib]
 proc-macro = true
@@ -11,3 +12,5 @@ path = "poll_token_derive.rs"
 syn = "0.15"
 quote = "0.6"
 proc-macro2 = "0.4"
+
+[workspace]
diff --git a/syscall_defines/Cargo.toml b/syscall_defines/Cargo.toml
index bba104e..8f76523 100644
--- a/syscall_defines/Cargo.toml
+++ b/syscall_defines/Cargo.toml
@@ -2,5 +2,8 @@
 name = "syscall_defines"
 version = "0.1.0"
 authors = ["The Chromium OS Authors"]
+include = ["src/**/*", "Cargo.toml"]
 
 [dependencies]
+
+[workspace]