diff --git a/Cargo.lock b/Cargo.lock index 6ffc6416d3..171e985045 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10607,47 +10607,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" -[[package]] -name = "sidevm-host" -version = "0.1.0" -dependencies = [ - "anyhow", - "env_logger", - "pink-sidevm-host-runtime", - "tokio", -] - -[[package]] -name = "sidevm-httpserver" -version = "0.1.0" -dependencies = [ - "futures 0.3.21", - "log 0.4.16", - "once_cell", - "pink-sidevm", - "tokio", -] - -[[package]] -name = "sidevm-recv-messages" -version = "0.1.0" -dependencies = [ - "log 0.4.16", - "once_cell", - "pink-sidevm", - "tokio", -] - -[[package]] -name = "sidevm-timer" -version = "0.1.0" -dependencies = [ - "log 0.4.16", - "once_cell", - "pink-sidevm", - "tokio", -] - [[package]] name = "signal-hook-registry" version = "1.4.0" diff --git a/Cargo.toml b/Cargo.toml index 7840cd5a08..882429cfd7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,6 +29,7 @@ exclude = [ "native-nostd-hasher", "standalone/pruntime", "crates/pink/examples", + "crates/pink/sidevm/examples", ] members = [ @@ -62,10 +63,6 @@ members = [ "crates/pink/sidevm/macro", "crates/pink/sidevm/logger", "crates/pink/sidevm/sidevm", - "crates/pink/sidevm/examples/timer", - "crates/pink/sidevm/examples/httpserver", - "crates/pink/sidevm/examples/host", - "crates/pink/sidevm/examples/recv_messages", "crates/phala-serde-more", "crates/rustfmt-snippet", "pallets/phala", diff --git a/crates/pink/sidevm/examples/host/Cargo.toml b/crates/pink/sidevm/examples/host/Cargo.toml index 1dfecc9e29..f473738c58 100644 --- a/crates/pink/sidevm/examples/host/Cargo.toml +++ b/crates/pink/sidevm/examples/host/Cargo.toml @@ -1,3 +1,6 @@ +# workaround for https://github.com/rust-lang/cargo/issues/6745 +[workspace] + [package] edition = "2021" name = "sidevm-host" diff --git a/crates/pink/sidevm/examples/httpserver/Cargo.toml b/crates/pink/sidevm/examples/httpserver/Cargo.toml index 4781cc1189..8f9df94568 100644 --- a/crates/pink/sidevm/examples/httpserver/Cargo.toml +++ b/crates/pink/sidevm/examples/httpserver/Cargo.toml @@ -1,3 +1,6 @@ +# workaround for https://github.com/rust-lang/cargo/issues/6745 +[workspace] + [package] edition = "2021" name = "sidevm-httpserver" diff --git a/crates/pink/sidevm/examples/recv_messages/Cargo.toml b/crates/pink/sidevm/examples/recv_messages/Cargo.toml index 1cfb07ce8f..8c2a0bd0d1 100644 --- a/crates/pink/sidevm/examples/recv_messages/Cargo.toml +++ b/crates/pink/sidevm/examples/recv_messages/Cargo.toml @@ -1,3 +1,6 @@ +# workaround for https://github.com/rust-lang/cargo/issues/6745 +[workspace] + [package] edition = "2021" name = "sidevm-recv-messages" diff --git a/crates/pink/sidevm/examples/timer/Cargo.toml b/crates/pink/sidevm/examples/timer/Cargo.toml index de526c4b71..8645ba4713 100644 --- a/crates/pink/sidevm/examples/timer/Cargo.toml +++ b/crates/pink/sidevm/examples/timer/Cargo.toml @@ -1,3 +1,6 @@ +# workaround for https://github.com/rust-lang/cargo/issues/6745 +[workspace] + [package] edition = "2021" name = "sidevm-timer"