From 7fc03bfb6e33cc4d730a7f5b5f729e507df3b3db Mon Sep 17 00:00:00 2001 From: Bernard Kolobara Date: Tue, 15 Nov 2022 12:15:43 +0100 Subject: [PATCH] Add changlog and bump version to v0.12 --- CHANGELOG.md | 19 +++++++ Cargo.lock | 48 ++++++++--------- Cargo.toml | 66 +++++++++++------------ crates/hash-map-id/Cargo.toml | 2 +- crates/lunatic-common-api/Cargo.toml | 8 +-- crates/lunatic-distributed-api/Cargo.toml | 24 ++++----- crates/lunatic-distributed/Cargo.toml | 26 ++++----- crates/lunatic-error-api/Cargo.toml | 10 ++-- crates/lunatic-messaging-api/Cargo.toml | 18 +++---- crates/lunatic-networking-api/Cargo.toml | 16 +++--- crates/lunatic-process-api/Cargo.toml | 20 +++---- crates/lunatic-process/Cargo.toml | 16 +++--- crates/lunatic-registry-api/Cargo.toml | 14 ++--- crates/lunatic-stdout-capture/Cargo.toml | 6 +-- crates/lunatic-timer-api/Cargo.toml | 16 +++--- crates/lunatic-version-api/Cargo.toml | 6 +-- crates/lunatic-wasi-api/Cargo.toml | 18 +++---- 17 files changed, 176 insertions(+), 157 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 976172f45..3b000d9f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Lunatic Changelog +## v0.12.0 + +Released 2022-11-15. + +### Changes + +- Compiled modules can now be sent between processes ([@tqwewe](https://github.com/tqwewe)) +- TLS support added ([@SquattingSocrates](https://github.com/SquattingSocrates)) +- Metrics added to the VM ([@HurricanKai](https://github.com/HurricanKai)) +- Improvements to distributed lunatic ([@kosticmarin](https://github.com/kosticmarin)) +- Distributed metadata added ([@kosticmarin](https://github.com/kosticmarin)) +- Improved error reporting ([@alecthomas](https://github.com/alecthomas)) +- TCP read/write timeouts added back ([@SquattingSocrates](https://github.com/SquattingSocrates)) +- Time API moved from async-std to tokio.rs + ([@MarkintoshZ](https://github.com/MarkintoshZ)) +- FIX: Sender can be dropped during execution ([@HurricanKai](https://github.com/HurricanKai)) +- FIX: [Dependency issues](https://github.com/lunatic-solutions/lunatic/pull/139) + ([@pinkforest](https://github.com/pinkforest)) + ## v0.10.0 Released 2022-07-04. diff --git a/Cargo.lock b/Cargo.lock index 69d6c549a..d01f20d81 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -306,9 +306,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.0.23" +version = "4.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eb41c13df48950b20eb4cd0eefa618819469df1bffc49d11e8487c4ba0037e5" +checksum = "60494cedb60cb47462c0ff7be53de32c0e42a6fc2c772184554fa12bd9489c03" dependencies = [ "atty", "bitflags", @@ -887,7 +887,7 @@ checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" [[package]] name = "hash-map-id" -version = "0.10.0" +version = "0.12.0" [[package]] name = "hash_hasher" @@ -1082,9 +1082,9 @@ checksum = "4217ad341ebadf8d8e724e264f13e593e0648f5b3e94b3896a5df283be015ecc" [[package]] name = "ittapi" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "663fe0550070071ff59e981864a9cd3ee1c869ed0a088140d9ac4dc05ea6b1a1" +checksum = "e8c4f6ff06169ce7048dac5150b1501c7e3716a929721aeb06b87e51a43e42f4" dependencies = [ "anyhow", "ittapi-sys", @@ -1093,9 +1093,9 @@ dependencies = [ [[package]] name = "ittapi-sys" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e21911b7183f38c71d75ab478a527f314e28db51027037ece2e5511ed9410703" +checksum = "87e078cce01485f418bae3beb34dd604aaedf2065502853c7da17fbce8e64eda" dependencies = [ "cc", ] @@ -1175,7 +1175,7 @@ dependencies = [ [[package]] name = "lunatic-common-api" -version = "0.10.0" +version = "0.12.0" dependencies = [ "anyhow", "paste", @@ -1184,7 +1184,7 @@ dependencies = [ [[package]] name = "lunatic-distributed" -version = "0.10.0" +version = "0.12.0" dependencies = [ "anyhow", "async_cell", @@ -1206,7 +1206,7 @@ dependencies = [ [[package]] name = "lunatic-distributed-api" -version = "0.10.0" +version = "0.12.0" dependencies = [ "anyhow", "async_cell", @@ -1225,7 +1225,7 @@ dependencies = [ [[package]] name = "lunatic-error-api" -version = "0.10.0" +version = "0.12.0" dependencies = [ "anyhow", "hash-map-id", @@ -1235,7 +1235,7 @@ dependencies = [ [[package]] name = "lunatic-messaging-api" -version = "0.10.0" +version = "0.12.0" dependencies = [ "anyhow", "hash-map-id", @@ -1249,7 +1249,7 @@ dependencies = [ [[package]] name = "lunatic-networking-api" -version = "0.10.0" +version = "0.12.0" dependencies = [ "anyhow", "hash-map-id", @@ -1264,7 +1264,7 @@ dependencies = [ [[package]] name = "lunatic-process" -version = "0.10.0" +version = "0.12.0" dependencies = [ "anyhow", "dashmap", @@ -1279,7 +1279,7 @@ dependencies = [ [[package]] name = "lunatic-process-api" -version = "0.10.0" +version = "0.12.0" dependencies = [ "anyhow", "hash-map-id", @@ -1295,7 +1295,7 @@ dependencies = [ [[package]] name = "lunatic-registry-api" -version = "0.10.0" +version = "0.12.0" dependencies = [ "anyhow", "hash-map-id", @@ -1308,11 +1308,11 @@ dependencies = [ [[package]] name = "lunatic-runtime" -version = "0.10.0" +version = "0.12.0" dependencies = [ "anyhow", "bincode", - "clap 4.0.23", + "clap 4.0.24", "criterion", "dashmap", "env_logger", @@ -1347,7 +1347,7 @@ dependencies = [ [[package]] name = "lunatic-stdout-capture" -version = "0.10.0" +version = "0.12.0" dependencies = [ "wasi-common", "wiggle", @@ -1355,7 +1355,7 @@ dependencies = [ [[package]] name = "lunatic-timer-api" -version = "0.10.0" +version = "0.12.0" dependencies = [ "anyhow", "hash-map-id", @@ -1369,7 +1369,7 @@ dependencies = [ [[package]] name = "lunatic-version-api" -version = "0.10.0" +version = "0.12.0" dependencies = [ "anyhow", "wasmtime", @@ -1377,7 +1377,7 @@ dependencies = [ [[package]] name = "lunatic-wasi-api" -version = "0.10.0" +version = "0.12.0" dependencies = [ "anyhow", "hash-map-id", @@ -2679,9 +2679,9 @@ checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" [[package]] name = "uuid" -version = "1.2.1" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "feb41e78f93363bb2df8b0e86a2ca30eed7806ea16ea0c790d757cf93f79be83" +checksum = "422ee0de9031b5b948b97a8fc04e3aa35230001a722ddd27943e0be31564ce4c" dependencies = [ "getrandom 0.2.8", ] diff --git a/Cargo.toml b/Cargo.toml index b72eea248..f2376f7a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lunatic-runtime" -version = "0.10.0" +version = "0.12.0" authors = ["Bernard Kolobara "] edition = "2018" description = "An actor platform built on WebAssembly" @@ -33,47 +33,47 @@ metrics = [ prometheus = ["dep:metrics-exporter-prometheus", "metrics"] [dependencies] -anyhow = "^1.0" -clap = { version = "^4.0", features = ["cargo", "derive"] } -lazy_static = "^1.4" -tokio = { version = "^1.20", features = [ +anyhow = "1.0" +clap = { version = "4.0", features = ["cargo", "derive"] } +lazy_static = "1.4" +tokio = { version = "1.20", features = [ "macros", "rt-multi-thread", "net", "time", ] } -wasmtime = "^2.0" -wasmtime-wasi = "^2.0" -wasi-common = "^2.0" -wasmparser = "^0.94" -env_logger = "^0.9" -log = "^0.4" -serde = "^1.0" -bincode = "^1.3" -dashmap = "^5.3.4" -regex = "^1.5" +wasmtime = "2.0" +wasmtime-wasi = "2.0" +wasi-common = "2.0" +wasmparser = "0.94" +env_logger = "0.9" +log = "0.4" +serde = "1.0" +bincode = "1.3" +dashmap = "5.3.4" +regex = "1.5" metrics = { version = "0.20.1", optional = true } metrics-exporter-prometheus = { version = "0.11.0", optional = true } -uuid = { version = "^1.1", features = ["v4"] } -hash-map-id = { version = "^0.10", path = "crates/hash-map-id" } -lunatic-stdout-capture = { version = "^0.10", path = "crates/lunatic-stdout-capture" } -lunatic-process = { version = "^0.10", path = "crates/lunatic-process" } -lunatic-distributed = { version = "^0.10", path = "crates/lunatic-distributed" } -lunatic-common-api = { version = "^0.10", path = "crates/lunatic-common-api" } -lunatic-process-api = { version = "^0.10", path = "crates/lunatic-process-api" } -lunatic-error-api = { version = "^0.10", path = "crates/lunatic-error-api" } -lunatic-messaging-api = { version = "^0.10", path = "crates/lunatic-messaging-api" } -lunatic-timer-api = { version = "^0.10", path = "crates/lunatic-timer-api" } -lunatic-networking-api = { version = "^0.10", path = "crates/lunatic-networking-api" } -lunatic-version-api = { version = "^0.10", path = "crates/lunatic-version-api" } -lunatic-wasi-api = { version = "^0.10", path = "crates/lunatic-wasi-api" } -lunatic-registry-api = { version = "^0.10", path = "crates/lunatic-registry-api" } -lunatic-distributed-api = { version = "^0.10", path = "crates/lunatic-distributed-api" } +uuid = { version = "1.1", features = ["v4"] } +hash-map-id = { version = "0.12", path = "crates/hash-map-id" } +lunatic-stdout-capture = { version = "0.12", path = "crates/lunatic-stdout-capture" } +lunatic-process = { version = "0.12", path = "crates/lunatic-process" } +lunatic-distributed = { version = "0.12", path = "crates/lunatic-distributed" } +lunatic-common-api = { version = "0.12", path = "crates/lunatic-common-api" } +lunatic-process-api = { version = "0.12", path = "crates/lunatic-process-api" } +lunatic-error-api = { version = "0.12", path = "crates/lunatic-error-api" } +lunatic-messaging-api = { version = "0.12", path = "crates/lunatic-messaging-api" } +lunatic-timer-api = { version = "0.12", path = "crates/lunatic-timer-api" } +lunatic-networking-api = { version = "0.12", path = "crates/lunatic-networking-api" } +lunatic-version-api = { version = "0.12", path = "crates/lunatic-version-api" } +lunatic-wasi-api = { version = "0.12", path = "crates/lunatic-wasi-api" } +lunatic-registry-api = { version = "0.12", path = "crates/lunatic-registry-api" } +lunatic-distributed-api = { version = "0.12", path = "crates/lunatic-distributed-api" } [dev-dependencies] -wat = "^1.0" -tokio = { version = "^1.20", features = ["rt-multi-thread"] } -criterion = { version = "^0.4", features = ["async_tokio"] } +wat = "1.0" +tokio = { version = "1.20", features = ["rt-multi-thread"] } +criterion = { version = "0.4", features = ["async_tokio"] } [[bench]] name = "benchmark" diff --git a/crates/hash-map-id/Cargo.toml b/crates/hash-map-id/Cargo.toml index dd18ffaa9..21635a8b8 100644 --- a/crates/hash-map-id/Cargo.toml +++ b/crates/hash-map-id/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hash-map-id" -version = "0.10.0" +version = "0.12.0" edition = "2021" description = "HashMap wrapper with incremental ID (u64) as key" homepage = "https://lunatic.solutions" diff --git a/crates/lunatic-common-api/Cargo.toml b/crates/lunatic-common-api/Cargo.toml index 39feed8f6..8cc32cad5 100644 --- a/crates/lunatic-common-api/Cargo.toml +++ b/crates/lunatic-common-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lunatic-common-api" -version = "0.10.0" +version = "0.12.0" edition = "2021" description = "Common functionality for building lunatic host function APIs." homepage = "https://lunatic.solutions" @@ -10,6 +10,6 @@ license = "Apache-2.0/MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -anyhow = "^1.0" -wasmtime = "^2" # managed by root Cargo.toml -paste = "^1.0" +anyhow = "1.0" +wasmtime = "2" # managed by root Cargo.toml +paste = "1.0" diff --git a/crates/lunatic-distributed-api/Cargo.toml b/crates/lunatic-distributed-api/Cargo.toml index 43decdc1f..ba7e277a0 100644 --- a/crates/lunatic-distributed-api/Cargo.toml +++ b/crates/lunatic-distributed-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lunatic-distributed-api" -version = "0.10.0" +version = "0.12.0" edition = "2021" description = "A simple control server implementation" homepage = "https://lunatic.solutions" @@ -10,16 +10,16 @@ license = "Apache-2.0/MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -lunatic-common-api = { version = "^0.10", path = "../lunatic-common-api" } -lunatic-distributed = { version = "^0.10", path = "../lunatic-distributed" } -lunatic-error-api = { version = "^0.10", path = "../lunatic-error-api" } -lunatic-process = { version = "^0.10", path = "../lunatic-process" } -lunatic-process-api = { version = "^0.10", path = "../lunatic-process-api" } -wasmtime = "^2" # managed by root Cargo.toml -tokio = { version = "^1.20", features = ["macros", "net", "time"] } -anyhow = "^1.0" -serde = { version = "^1.0", features = ["derive"] } +lunatic-common-api = { version = "0.12", path = "../lunatic-common-api" } +lunatic-distributed = { version = "0.12", path = "../lunatic-distributed" } +lunatic-error-api = { version = "0.12", path = "../lunatic-error-api" } +lunatic-process = { version = "0.12", path = "../lunatic-process" } +lunatic-process-api = { version = "0.12", path = "../lunatic-process-api" } +wasmtime = "2" # managed by root Cargo.toml +tokio = { version = "1.20", features = ["macros", "net", "time"] } +anyhow = "1.0" +serde = { version = "1.0", features = ["derive"] } dashmap = "5.3.4" -bincode = "^1.3" -log = "^0.4" +bincode = "1.3" +log = "0.4" async_cell = "0.2.1" diff --git a/crates/lunatic-distributed/Cargo.toml b/crates/lunatic-distributed/Cargo.toml index 60b80ba78..3b57b3859 100644 --- a/crates/lunatic-distributed/Cargo.toml +++ b/crates/lunatic-distributed/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lunatic-distributed" -version = "0.10.0" +version = "0.12.0" edition = "2021" description = "Node to node communication" homepage = "https://lunatic.solutions" @@ -16,19 +16,19 @@ quic-s2n = ["dep:s2n-quic"] quic-quinn = ["dep:quinn", "dep:rustls", "dep:rustls-pemfile", "dep:futures-util"] [dependencies] -anyhow = "^1.0" -tokio = { version = "^1.20", features = ["macros", "rt-multi-thread", "net", "time", "io-util"] } -serde = { version = "^1.0", features = ["derive"] } +anyhow = "1.0" +tokio = { version = "1.20", features = ["macros", "rt-multi-thread", "net", "time", "io-util"] } +serde = { version = "1.0", features = ["derive"] } s2n-quic = { version = "1", default-features = false, features = ["provider-address-token-default", "provider-tls-rustls"], optional = true} -wasmtime = "^2" # managed by root Cargo.toml +wasmtime = "2" # managed by root Cargo.toml dashmap = "5.3.4" -bincode = "^1.3" +bincode = "1.3" bytes = "1" -log = "^0.4" +log = "0.4" async_cell = "0.2.1" -rcgen = { version="^0.10", features=["pem", "x509-parser"] } -lunatic-process = { version = "^0.10", path = "../lunatic-process" } -quinn = { version = "^0.9", optional = true} -rustls = { version = "^0.20", optional = true } -rustls-pemfile = { version = "^1.0", optional = true } -futures-util = { version = "^0.3", optional = true} \ No newline at end of file +rcgen = { version="0.10", features=["pem", "x509-parser"] } +lunatic-process = { version = "0.12", path = "../lunatic-process" } +quinn = { version = "0.9", optional = true} +rustls = { version = "0.20", optional = true } +rustls-pemfile = { version = "1.0", optional = true } +futures-util = { version = "0.3", optional = true} \ No newline at end of file diff --git a/crates/lunatic-error-api/Cargo.toml b/crates/lunatic-error-api/Cargo.toml index df582ca4f..8327dd2d0 100644 --- a/crates/lunatic-error-api/Cargo.toml +++ b/crates/lunatic-error-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lunatic-error-api" -version = "0.10.0" +version = "0.12.0" edition = "2021" description = "Lunatic host functions that make dealing with Anyhow errors simpler." homepage = "https://lunatic.solutions" @@ -10,7 +10,7 @@ license = "Apache-2.0/MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -anyhow = "^1.0" -wasmtime = "^2" # managed by root Cargo.toml -hash-map-id = { version = "^0.10", path = "../hash-map-id" } -lunatic-common-api = { version = "^0.10", path = "../lunatic-common-api" } \ No newline at end of file +anyhow = "1.0" +wasmtime = "2" # managed by root Cargo.toml +hash-map-id = { version = "0.12", path = "../hash-map-id" } +lunatic-common-api = { version = "0.12", path = "../lunatic-common-api" } \ No newline at end of file diff --git a/crates/lunatic-messaging-api/Cargo.toml b/crates/lunatic-messaging-api/Cargo.toml index c89dce6fd..35cf43cbe 100644 --- a/crates/lunatic-messaging-api/Cargo.toml +++ b/crates/lunatic-messaging-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lunatic-messaging-api" -version = "0.10.0" +version = "0.12.0" edition = "2021" description = "Lunatic host functions for message sending." homepage = "https://lunatic.solutions" @@ -10,11 +10,11 @@ license = "Apache-2.0/MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -anyhow = "^1.0" -wasmtime = "^2" # managed by root Cargo.toml -tokio = { version = "^1.20", features = ["macros", "net", "time"] } -hash-map-id = { version = "^0.10", path = "../hash-map-id" } -lunatic-process = { version = "^0.10", path = "../lunatic-process" } -lunatic-common-api = { version = "^0.10", path = "../lunatic-common-api" } -lunatic-process-api = { version = "^0.10", path = "../lunatic-process-api" } -lunatic-networking-api = { version = "^0.10", path = "../lunatic-networking-api" } +anyhow = "1.0" +wasmtime = "2" # managed by root Cargo.toml +tokio = { version = "1.20", features = ["macros", "net", "time"] } +hash-map-id = { version = "0.12", path = "../hash-map-id" } +lunatic-process = { version = "0.12", path = "../lunatic-process" } +lunatic-common-api = { version = "0.12", path = "../lunatic-common-api" } +lunatic-process-api = { version = "0.12", path = "../lunatic-process-api" } +lunatic-networking-api = { version = "0.12", path = "../lunatic-networking-api" } diff --git a/crates/lunatic-networking-api/Cargo.toml b/crates/lunatic-networking-api/Cargo.toml index 433d5398c..6eb9350dc 100644 --- a/crates/lunatic-networking-api/Cargo.toml +++ b/crates/lunatic-networking-api/Cargo.toml @@ -5,17 +5,17 @@ homepage = "https://lunatic.solutions" license = "Apache-2.0/MIT" name = "lunatic-networking-api" repository = "https://github.com/lunatic-solutions/lunatic/tree/main/crates/lunatic-networking-api" -version = "0.10.0" +version = "0.12.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -anyhow = "^1.0" -wasmtime = "^2" # managed by root Cargo.toml -tokio = { version = "^1.20", features = ["macros", "rt-multi-thread", "sync", "net", "time", "io-util"] } -hash-map-id = { version = "^0.10", path = "../hash-map-id" } -lunatic-common-api = { version = "^0.10", path = "../lunatic-common-api" } -lunatic-error-api = { version = "^0.10", path = "../lunatic-error-api" } -rustls-pemfile = {version = "^1.0"} +anyhow = "1.0" +wasmtime = "2" # managed by root Cargo.toml +tokio = { version = "1.20", features = ["macros", "rt-multi-thread", "sync", "net", "time", "io-util"] } +hash-map-id = { version = "0.12", path = "../hash-map-id" } +lunatic-common-api = { version = "0.12", path = "../lunatic-common-api" } +lunatic-error-api = { version = "0.12", path = "../lunatic-error-api" } +rustls-pemfile = {version = "1.0"} tokio-rustls = "0.23.4" webpki-roots = "0.22.0" diff --git a/crates/lunatic-process-api/Cargo.toml b/crates/lunatic-process-api/Cargo.toml index fadda46a4..7a3ec064c 100644 --- a/crates/lunatic-process-api/Cargo.toml +++ b/crates/lunatic-process-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lunatic-process-api" -version = "0.10.0" +version = "0.12.0" edition = "2021" description = "Lunatic host functions for working with processes." homepage = "https://lunatic.solutions" @@ -13,13 +13,13 @@ license = "Apache-2.0/MIT" metrics = ["dep:metrics"] [dependencies] -anyhow = "^1.0" -wasmtime = "^2" +anyhow = "1.0" +wasmtime = "2" metrics = { version = "0.20.1", optional = true } -tokio = { version = "^1.20", features = ["macros", "time"] } -hash-map-id = { version = "^0.10", path = "../hash-map-id" } -lunatic-stdout-capture = { version = "^0.10", path = "../lunatic-stdout-capture" } -lunatic-process = { version = "^0.10", path = "../lunatic-process" } -lunatic-common-api = { version = "^0.10", path = "../lunatic-common-api" } -lunatic-error-api = { version = "^0.10", path = "../lunatic-error-api" } -lunatic-wasi-api = { version = "^0.10", path = "../lunatic-wasi-api" } +tokio = { version = "1.20", features = ["macros", "time"] } +hash-map-id = { version = "0.12", path = "../hash-map-id" } +lunatic-stdout-capture = { version = "0.12", path = "../lunatic-stdout-capture" } +lunatic-process = { version = "0.12", path = "../lunatic-process" } +lunatic-common-api = { version = "0.12", path = "../lunatic-common-api" } +lunatic-error-api = { version = "0.12", path = "../lunatic-error-api" } +lunatic-wasi-api = { version = "0.12", path = "../lunatic-wasi-api" } diff --git a/crates/lunatic-process/Cargo.toml b/crates/lunatic-process/Cargo.toml index 122577a78..953c7ad52 100644 --- a/crates/lunatic-process/Cargo.toml +++ b/crates/lunatic-process/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lunatic-process" -version = "0.10.0" +version = "0.12.0" edition = "2021" description = "Lunatic's core process, mailbox and message abstraction'" homepage = "https://lunatic.solutions" @@ -16,17 +16,17 @@ metrics = ["dep:metrics"] detailed_metrics = ["metrics"] [dependencies] -anyhow = "^1.0" -log = "^0.4" +anyhow = "1.0" +log = "0.4" dashmap = "5.3.4" metrics = { version = "0.20.1", optional = true } -tokio = { version = "^1.20", features = [ +tokio = { version = "1.20", features = [ "macros", "rt-multi-thread", "sync", "net", ] } -wasmtime = "^2" -serde = "^1.0" -hash-map-id = { version = "^0.10", path = "../hash-map-id" } -lunatic-networking-api = { version = "^0.10", path = "../lunatic-networking-api" } +wasmtime = "2" +serde = "1.0" +hash-map-id = { version = "0.12", path = "../hash-map-id" } +lunatic-networking-api = { version = "0.12", path = "../lunatic-networking-api" } diff --git a/crates/lunatic-registry-api/Cargo.toml b/crates/lunatic-registry-api/Cargo.toml index 7512142df..570b5320a 100644 --- a/crates/lunatic-registry-api/Cargo.toml +++ b/crates/lunatic-registry-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lunatic-registry-api" -version = "0.10.0" +version = "0.12.0" edition = "2021" description = "Lunatic host functions for registering named processes." homepage = "https://lunatic.solutions" @@ -13,10 +13,10 @@ license = "Apache-2.0/MIT" metrics = ["dep:metrics"] [dependencies] -anyhow = "^1.0" -wasmtime = "^2" +anyhow = "1.0" +wasmtime = "2" metrics = { version = "0.20.1", optional = true } -hash-map-id = { version = "^0.10", path = "../hash-map-id" } -lunatic-process = { version = "^0.10", path = "../lunatic-process" } -lunatic-process-api = { version = "^0.10", path = "../lunatic-process-api" } -lunatic-common-api = { version = "^0.10", path = "../lunatic-common-api" } +hash-map-id = { version = "0.12", path = "../hash-map-id" } +lunatic-process = { version = "0.12", path = "../lunatic-process" } +lunatic-process-api = { version = "0.12", path = "../lunatic-process-api" } +lunatic-common-api = { version = "0.12", path = "../lunatic-common-api" } diff --git a/crates/lunatic-stdout-capture/Cargo.toml b/crates/lunatic-stdout-capture/Cargo.toml index 6ff328d37..36a9ed4de 100644 --- a/crates/lunatic-stdout-capture/Cargo.toml +++ b/crates/lunatic-stdout-capture/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lunatic-stdout-capture" -version = "0.10.0" +version = "0.12.0" edition = "2021" description = "Helper library for holding stdout streams of lunatic processes." homepage = "https://lunatic.solutions" @@ -10,5 +10,5 @@ license = "Apache-2.0/MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -wiggle = "^2" # must reflect wasmtime controlled via Cargo.toml -wasi-common = "^2" # managed by root Cargo.toml \ No newline at end of file +wiggle = "2" # must reflect wasmtime controlled via Cargo.toml +wasi-common = "2" # managed by root Cargo.toml \ No newline at end of file diff --git a/crates/lunatic-timer-api/Cargo.toml b/crates/lunatic-timer-api/Cargo.toml index 602d693f0..9ff954d3a 100644 --- a/crates/lunatic-timer-api/Cargo.toml +++ b/crates/lunatic-timer-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lunatic-timer-api" -version = "0.10.0" +version = "0.12.0" edition = "2021" description = "Lunatic host functions for working with timers." homepage = "https://lunatic.solutions" @@ -13,11 +13,11 @@ license = "Apache-2.0/MIT" metrics = ["dep:metrics"] [dependencies] -anyhow = "^1.0" -wasmtime = "^2" +anyhow = "1.0" +wasmtime = "2" metrics = { version = "0.20.1", optional = true } -tokio = { version = "^1.20", features = ["rt", "time"] } -hash-map-id = { version = "^0.10", path = "../hash-map-id" } -lunatic-process = { version = "^0.10", path = "../lunatic-process" } -lunatic-process-api = { version = "^0.10", path = "../lunatic-process-api" } -lunatic-common-api = { version = "^0.10", path = "../lunatic-common-api" } +tokio = { version = "1.20", features = ["rt", "time"] } +hash-map-id = { version = "0.12", path = "../hash-map-id" } +lunatic-process = { version = "0.12", path = "../lunatic-process" } +lunatic-process-api = { version = "0.12", path = "../lunatic-process-api" } +lunatic-common-api = { version = "0.12", path = "../lunatic-common-api" } diff --git a/crates/lunatic-version-api/Cargo.toml b/crates/lunatic-version-api/Cargo.toml index 591663e7f..2f230646a 100644 --- a/crates/lunatic-version-api/Cargo.toml +++ b/crates/lunatic-version-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lunatic-version-api" -version = "0.10.0" +version = "0.12.0" edition = "2021" description = "Lunatic host functions for getting Lunatic host version" homepage = "https://lunatic.solutions" @@ -10,5 +10,5 @@ license = "Apache-2.0/MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -anyhow = "^1.0" -wasmtime = "^2" # managed by root Cargo.toml \ No newline at end of file +anyhow = "1.0" +wasmtime = "2" # managed by root Cargo.toml \ No newline at end of file diff --git a/crates/lunatic-wasi-api/Cargo.toml b/crates/lunatic-wasi-api/Cargo.toml index ce46c4d36..211010146 100644 --- a/crates/lunatic-wasi-api/Cargo.toml +++ b/crates/lunatic-wasi-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lunatic-wasi-api" -version = "0.10.0" +version = "0.12.0" edition = "2021" description = "Lunatic host functions for WASI." homepage = "https://lunatic.solutions" @@ -10,11 +10,11 @@ license = "Apache-2.0/MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -anyhow = "^1.0" -wasmtime = "^2" # managed by root Cargo.toml -wasmtime-wasi = "^2" # managed by root Cargo.toml -tokio = { version = "^1.20", features = ["macros"] } -hash-map-id = { version = "^0.10", path = "../hash-map-id" } -lunatic-common-api = { version = "^0.10", path = "../lunatic-common-api" } -lunatic-process = { version = "^0.10", path = "../lunatic-process" } -lunatic-stdout-capture = { version = "^0.10", path = "../lunatic-stdout-capture" } +anyhow = "1.0" +wasmtime = "2" # managed by root Cargo.toml +wasmtime-wasi = "2" # managed by root Cargo.toml +tokio = { version = "1.20", features = ["macros"] } +hash-map-id = { version = "0.12", path = "../hash-map-id" } +lunatic-common-api = { version = "0.12", path = "../lunatic-common-api" } +lunatic-process = { version = "0.12", path = "../lunatic-process" } +lunatic-stdout-capture = { version = "0.12", path = "../lunatic-stdout-capture" }