From 5b2bc4a760cda8b3721526676cc7e2269922fbbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=BCtt?= Date: Fri, 29 Jul 2022 12:14:44 +0200 Subject: [PATCH] Export wasmer-vbus properly --- lib/vbus/Cargo.toml | 4 +++- scripts/publish.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/vbus/Cargo.toml b/lib/vbus/Cargo.toml index f9f78eab7..a54b3841b 100644 --- a/lib/vbus/Cargo.toml +++ b/lib/vbus/Cargo.toml @@ -16,4 +16,6 @@ slab = { version = "0.4", optional = true } wasmer-vfs = { path = "../vfs", version = "=3.0.0-alpha.4", default-features = false } [features] -default = [] +default = ["mem_fs"] +mem_fs = ["wasmer-vfs/mem-fs"] +host_fs = ["wasmer-vfs/host-fs"] \ No newline at end of file diff --git a/scripts/publish.py b/scripts/publish.py index 2d2770070..2ed0a6c94 100644 --- a/scripts/publish.py +++ b/scripts/publish.py @@ -54,8 +54,9 @@ dep_graph = { ] ), "wasmer-vfs": set([]), + "wasmer-vbus": set([]), "wasmer-cache": set(["wasmer"]), - "wasmer-wasi": set(["wasmer", "wasmer-wasi-types", "wasmer-vfs"]), + "wasmer-wasi": set(["wasmer", "wasmer-wasi-types", "wasmer-vfs", "wasmer-vbus"]), "wasmer-wasi-types": set(["wasmer-types"]), "wasmer-wasi-experimental-io-devices": set(["wasmer-wasi"]), "wasmer-emscripten": set(["wasmer"]), @@ -114,6 +115,7 @@ location = { "wasmer-c-api": "c-api", "wasmer-middlewares": "middlewares", "wasmer-vfs": "vfs", + "wasmer-vbus": "vbus", "wasmer-cli": "cli", "wasmer-wast": "../tests/lib/wast", }