diff --git a/Cargo.lock b/Cargo.lock index 3b6cdd856e0..a6c31161cb9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,6 +2,12 @@ # It is not intended for manual editing. version = 3 +[[package]] +name = "Inflector" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" + [[package]] name = "addr2line" version = "0.20.0" @@ -48,6 +54,12 @@ dependencies = [ "memchr", ] +[[package]] +name = "aliasable" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "250f629c0161ad8107cf89319e990051fae62832fd343083bea452d93e2205fd" + [[package]] name = "allocator-api2" version = "0.2.16" @@ -646,9 +658,9 @@ dependencies = [ [[package]] name = "comfy-table" -version = "6.2.0" +version = "7.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e959d788268e3bf9d35ace83e81b124190378e4c91c9067524675e33394b8ba" +checksum = "9ab77dbd8adecaf3f0db40581631b995f312a8a5ae3aa9993188bb8f23d83a5b" dependencies = [ "crossterm", "strum", @@ -1037,11 +1049,12 @@ checksum = "b365fabc795046672053e29c954733ec3b05e4be654ab130fe8f1f94d7051f35" [[package]] name = "cynic" -version = "2.2.8" +version = "3.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1afa0591b1021e427e548a1f0f147fe6168f6c7c7f7006bace77f28856051b8" +checksum = "bf035d785657f3621eee03fdfeefab48127d8b1643b6f9edf8b3cd66cbd86e9b" dependencies = [ "cynic-proc-macros", + "ref-cast", "reqwest", "serde", "serde_json", @@ -1051,40 +1064,33 @@ dependencies = [ [[package]] name = "cynic-codegen" -version = "2.2.8" +version = "3.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70a1bb05cc554f46079d0fa72abe995a2d32d0737d410a41da75b31e3f7ef768" +checksum = "4e8e65b71a8bd2751712ab38326b73a5f98405b6b5f8fd4dae658e58c1576d09" dependencies = [ "counter", - "darling 0.13.4", + "darling 0.14.4", "graphql-parser", "once_cell", + "ouroboros", "proc-macro2", "quote", "strsim", "syn 1.0.109", + "thiserror", ] [[package]] name = "cynic-proc-macros" -version = "2.2.8" +version = "3.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa595c4ed7a5374e0e58c5c34f9d93bd6b7d45062790963bd4b4c3c0bf520c4d" +checksum = "4a933ea1f357cbd48f2068c59457631696ae58d554f89290e4da272b1f69ebf1" dependencies = [ "cynic-codegen", + "quote", "syn 1.0.109", ] -[[package]] -name = "darling" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c" -dependencies = [ - "darling_core 0.13.4", - "darling_macro 0.13.4", -] - [[package]] name = "darling" version = "0.14.4" @@ -1105,20 +1111,6 @@ dependencies = [ "darling_macro 0.20.3", ] -[[package]] -name = "darling_core" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim", - "syn 1.0.109", -] - [[package]] name = "darling_core" version = "0.14.4" @@ -1146,17 +1138,6 @@ dependencies = [ "syn 2.0.27", ] -[[package]] -name = "darling_macro" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" -dependencies = [ - "darling_core 0.13.4", - "quote", - "syn 1.0.109", -] - [[package]] name = "darling_macro" version = "0.14.4" @@ -2887,6 +2868,29 @@ dependencies = [ "sdl2-sys", ] +[[package]] +name = "ouroboros" +version = "0.15.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1358bd1558bd2a083fed428ffeda486fbfb323e698cdda7794259d592ca72db" +dependencies = [ + "aliasable", + "ouroboros_macro", +] + +[[package]] +name = "ouroboros_macro" +version = "0.15.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f7d21ccd03305a674437ee1248f3ab5d4b1db095cf1caf49f1713ddf61956b7" +dependencies = [ + "Inflector", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "overload" version = "0.1.1" @@ -3323,6 +3327,26 @@ dependencies = [ "thiserror", ] +[[package]] +name = "ref-cast" +version = "1.0.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61ef7e18e8841942ddb1cf845054f8008410030a3997875d9e49b7a363063df1" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dfaf0c85b766276c797f3791f5bc6d5bd116b41d53049af2789666b0c0bc9fa" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.27", +] + [[package]] name = "ref_thread_local" version = "0.1.1" @@ -5436,9 +5460,9 @@ dependencies = [ [[package]] name = "wasmer-api" -version = "0.0.9" +version = "0.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5f22cf70f93c4690d4e82b325634ad973cd3a02d5a6b6565d442b452ea729bf" +checksum = "ce5c528b93fa430da1d4960759ded4f905bd7a82c68857f9eb01202a62650224" dependencies = [ "anyhow", "cynic", @@ -5447,6 +5471,7 @@ dependencies = [ "reqwest", "serde", "serde_json", + "serde_path_to_error", "time 0.3.23", "tracing", "url", @@ -5714,13 +5739,14 @@ dependencies = [ [[package]] name = "wasmer-deploy-cli" -version = "0.1.17" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f27185d77bc941b5e3bd84d548f5e0074ae8b560c3d862eb83af4d04fc4d9df0" +checksum = "622926606a0ec3d5d474485e2770e661445665e8e7a9e144c3e3732ebbf2c772" dependencies = [ "anyhow", "clap", "clap-verbosity-flag", + "colored 2.0.4", "comfy-table", "dialoguer", "futures", @@ -5743,16 +5769,16 @@ dependencies = [ "wasmer-api", "wasmer-deploy-schema", "wasmer-deploy-util", - "wasmer-registry 4.7.0", + "wasmer-registry 5.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "wasmer-toml 0.6.0", "webc", ] [[package]] name = "wasmer-deploy-schema" -version = "0.0.8" +version = "0.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "518852c619a39aebe90bf38f0a1c8669c6b9eaf78ba11b899ec240745df1166d" +checksum = "9f8c1b8e8c2e49f3c1a54bce561dbb79e81ced47818deddde8b32280e33ca2a6" dependencies = [ "anyhow", "bytesize", @@ -5769,10 +5795,11 @@ dependencies = [ [[package]] name = "wasmer-deploy-util" -version = "0.0.8" +version = "0.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94cb6c1cc25b066e81a2fdd7cd1774b68fbb733f4618e92f5b2e1e182c7d6894" +checksum = "27a1a67c2146f62b3e336f131404235f54e12fa80f0d8278b77fff56cdbe548f" dependencies = [ + "http", "serde", "wasmer-deploy-schema", "wasmparser 0.95.0", @@ -5885,16 +5912,14 @@ dependencies = [ [[package]] name = "wasmer-registry" -version = "4.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abc018188be9bb86e1e548ad3e5eedc33e6a0fca703172b1dd4a605d35e82086" +version = "5.3.0" dependencies = [ "anyhow", + "clap", "console", "dirs", "filetime", "flate2", - "fs_extra", "futures-util", "graphql_client", "hex", @@ -5904,6 +5929,7 @@ dependencies = [ "log", "lzma-rs", "minisign", + "pretty_assertions", "regex", "reqwest", "rpassword", @@ -5920,18 +5946,18 @@ dependencies = [ "toml 0.5.11", "url", "wasmer-toml 0.6.0", - "wasmer-wasm-interface 4.0.0", + "wasmer-wasm-interface 4.1.0", "wasmparser 0.51.4", - "webc", "whoami", ] [[package]] name = "wasmer-registry" version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74c6b4b47cf736e1c6aaf27f2b12a4140d5399c9609e08815cdc4cb622f0c726" dependencies = [ "anyhow", - "clap", "console", "dirs", "filetime", @@ -5945,7 +5971,6 @@ dependencies = [ "log", "lzma-rs", "minisign", - "pretty_assertions", "regex", "reqwest", "rpassword", @@ -5962,7 +5987,7 @@ dependencies = [ "toml 0.5.11", "url", "wasmer-toml 0.6.0", - "wasmer-wasm-interface 4.1.0", + "wasmer-wasm-interface 4.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "wasmparser 0.51.4", "whoami", ] @@ -6167,26 +6192,26 @@ dependencies = [ [[package]] name = "wasmer-wasm-interface" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17603c436eb15548721c2eb78001daba77e5193eab8680c1be5fb0f37879658e" +version = "4.1.0" dependencies = [ + "bincode", "either", "nom 5.1.3", "serde", "wasmparser 0.51.4", + "wat", ] [[package]] name = "wasmer-wasm-interface" version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "676a4e64975caa2cc3947fe061ac4f7fc2efaa1ed8c192120b46d79419f8419e" dependencies = [ - "bincode", "either", "nom 5.1.3", "serde", "wasmparser 0.51.4", - "wat", ] [[package]] diff --git a/lib/cli/Cargo.toml b/lib/cli/Cargo.toml index 8156dce0b37..d66fdf4a4ba 100644 --- a/lib/cli/Cargo.toml +++ b/lib/cli/Cargo.toml @@ -64,7 +64,7 @@ virtual-net = { version = "0.4.0", path = "../virtual-net" } # Wasmer-owned dependencies. webc = { workspace = true } -wasmer-deploy-cli = { version = "=0.1.17", default-features = false } +wasmer-deploy-cli = { version = "=0.1.19", default-features = false } # Third-party dependencies.