From ee639af2ed9b7a0c8b72782503d844e6900a543b Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Sat, 30 Mar 2024 07:56:22 +0000 Subject: [PATCH] krata: fix workspace version references and feature discrepancies --- Cargo.toml | 2 +- crates/ctl/Cargo.toml | 2 +- crates/daemon/Cargo.toml | 4 ++-- crates/guest/Cargo.toml | 4 ++-- crates/network/Cargo.toml | 2 +- crates/runtime/Cargo.toml | 12 ++++++------ crates/xen/xenclient/Cargo.toml | 4 ++-- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c090992..0d592ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -94,7 +94,7 @@ default-features = false [workspace.dependencies.tokio] version = "1.35.1" -features = ["macros", "rt", "rt-multi-thread", "io-util"] +features = ["full"] [workspace.dependencies.tokio-stream] version = "0.1" diff --git a/crates/ctl/Cargo.toml b/crates/ctl/Cargo.toml index b7bab1a..9db92e3 100644 --- a/crates/ctl/Cargo.toml +++ b/crates/ctl/Cargo.toml @@ -16,7 +16,7 @@ cli-tables = { workspace = true } crossterm = { workspace = true } ctrlc = { workspace = true, features = ["termination"] } env_logger = { workspace = true } -krata = { path = "../krata" } +krata = { path = "../krata", version = "0.0.1" } log = { workspace = true } prost-reflect = { workspace = true, features = ["serde"] } serde_json = { workspace = true } diff --git a/crates/daemon/Cargo.toml b/crates/daemon/Cargo.toml index 71c02c4..9952e80 100644 --- a/crates/daemon/Cargo.toml +++ b/crates/daemon/Cargo.toml @@ -16,8 +16,8 @@ bytes = { workspace = true } clap = { workspace = true } env_logger = { workspace = true } futures = { workspace = true } -krata = { path = "../krata" } -krata-runtime = { path = "../runtime" } +krata = { path = "../krata", version = "0.0.1" } +krata-runtime = { path = "../runtime", version = "0.0.1" } log = { workspace = true } prost = { workspace = true } redb = { workspace = true } diff --git a/crates/guest/Cargo.toml b/crates/guest/Cargo.toml index bf46c29..2923550 100644 --- a/crates/guest/Cargo.toml +++ b/crates/guest/Cargo.toml @@ -13,8 +13,8 @@ anyhow = { workspace = true } env_logger = { workspace = true } futures = { workspace = true } ipnetwork = { workspace = true } -krata = { path = "../krata" } -krata-xenstore = { path = "../xen/xenstore" } +krata = { path = "../krata", version = "0.0.1" } +krata-xenstore = { path = "../xen/xenstore", version = "0.0.1" } libc = { workspace = true } log = { workspace = true } nix = { workspace = true, features = ["process"] } diff --git a/crates/network/Cargo.toml b/crates/network/Cargo.toml index 6e9f62c..fddcf9b 100644 --- a/crates/network/Cargo.toml +++ b/crates/network/Cargo.toml @@ -16,7 +16,7 @@ clap = { workspace = true } env_logger = { workspace = true } etherparse = { workspace = true } futures = { workspace = true } -krata = { path = "../krata" } +krata = { path = "../krata", version = "0.0.1" } krata-advmac = { workspace = true } libc = { workspace = true } log = { workspace = true } diff --git a/crates/runtime/Cargo.toml b/crates/runtime/Cargo.toml index 4d5c31a..8da5a92 100644 --- a/crates/runtime/Cargo.toml +++ b/crates/runtime/Cargo.toml @@ -12,18 +12,18 @@ resolver = "2" anyhow = { workspace = true } backhand = { workspace = true } ipnetwork = { workspace = true } -krata = { path = "../krata" } +krata = { path = "../krata", version = "0.0.1" } krata-advmac = { workspace = true } -krata-oci = { path = "../oci" } +krata-oci = { path = "../oci", version = "0.0.1" } log = { workspace = true } loopdev-3 = { workspace = true } serde_json = { workspace = true } tokio = { workspace = true } uuid = { workspace = true } -krata-xenclient = { path = "../xen/xenclient" } -krata-xenevtchn = { path = "../xen/xenevtchn" } -krata-xengnt = { path = "../xen/xengnt" } -krata-xenstore = { path = "../xen/xenstore" } +krata-xenclient = { path = "../xen/xenclient", version = "0.0.1" } +krata-xenevtchn = { path = "../xen/xenevtchn", version = "0.0.1" } +krata-xengnt = { path = "../xen/xengnt", version = "0.0.1" } +krata-xenstore = { path = "../xen/xenstore", version = "0.0.1" } [lib] name = "kratart" diff --git a/crates/xen/xenclient/Cargo.toml b/crates/xen/xenclient/Cargo.toml index 51cbbb3..5e743a4 100644 --- a/crates/xen/xenclient/Cargo.toml +++ b/crates/xen/xenclient/Cargo.toml @@ -13,8 +13,8 @@ elf = { workspace = true } flate2 = { workspace = true } libc = { workspace = true } log = { workspace = true } -krata-xencall = { path = "../xencall" } -krata-xenstore = { path = "../xenstore" } +krata-xencall = { path = "../xencall", version = "0.0.1" } +krata-xenstore = { path = "../xenstore", version = "0.0.1" } memchr = { workspace = true } slice-copy = { workspace = true } thiserror = { workspace = true }