From 4ac2411d893b9bb6cb536675572b75fa175768df Mon Sep 17 00:00:00 2001 From: Zeeshan Lakhani Date: Wed, 27 Mar 2024 09:52:40 -0400 Subject: [PATCH] chore: flake/readme updates --- README.md | 7 +++++++ flake.lock | 6 +++--- flake.nix | 12 ++++++------ homestar-runtime/Cargo.toml | 4 ++-- 4 files changed, 18 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index bb77d041..b340a247 100644 --- a/README.md +++ b/README.md @@ -135,6 +135,9 @@ represents the `Homestar` runtime. We recommend diving into each package's own You can find the spec for translating between IPLD and WIT runtime values based on WIT types [here](./homestar-wasm/README.md#interpreting-between-ipld-and-wit). + *Note*: This library also includes a [WIT `world`][wa.dev-homestar-host] for + bindings implemented on the host runtime. + - [homestar-workflow](./homestar-workflow) The *workflow* library implements workflow-centric [Ipvm features][ipvm-spec] @@ -157,6 +160,8 @@ represents the `Homestar` runtime. We recommend diving into each package's own writing and compiling [Wasm component][wasm-component] modules using [wit-bindgen][wit-bindgen]. + You can find our component packages on [wa.dev][wa.dev-homestar]. + - [homestar-schemas](./homestar-schemas) `homestar-schemas` is a crate for generating OpenRPC docs and JSON Schemas that document the [homestar-runtime](./homestar-runtime) JSON-RPC API, workflows, and receipts. @@ -272,6 +277,8 @@ conditions. [research]: https://github.com/ipvm-wg/research [seamless-services]: https://youtu.be/Kr3B3sXh_VA [ucan-invocation]: https://github.com/ucan-wg/invocation +[wa.dev-homestar]: https://wa.dev/homestar +[wa.dev-homestar-host]: https://wa.dev/homestar:host [wasm-component]: https://github.com/WebAssembly/component-model [wasmtime]: https://github.com/bytecodealliance/wasmtime [wit]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md diff --git a/flake.lock b/flake.lock index 13f172e9..e8503aaa 100644 --- a/flake.lock +++ b/flake.lock @@ -537,11 +537,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1711124224, - "narHash": "sha256-l0zlN/3CiodvWDtfBOVxeTwYSRz93muVbXWSpaMjXxM=", + "lastModified": 1711460390, + "narHash": "sha256-akSgjDZL6pVHEfSE6sz1DNSXuYX6hq+P/1Z5IoYWs7E=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "56528ee42526794d413d6f244648aaee4a7b56c0", + "rev": "44733514b72e732bd49f5511bd0203dea9b9a434", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 667a339a..0bd3cf56 100644 --- a/flake.nix +++ b/flake.nix @@ -50,7 +50,7 @@ file-toolchain = fenix.packages.${system}.fromToolchainFile { file = ./rust-toolchain.toml; # sha256 = pkgs.lib.fakeSha256; - sha256 = "sha256-e4mlaJehWBymYxJGgnbuCObVlqMlQSilZ8FljG9zPHY="; + sha256 = "sha256-+syqAd2kX8KVa8/U2gz3blIQTTsYYt3U63xBWaGOSc8="; }; default-toolchain = fenix.packages.${system}.complete.withComponents [ @@ -72,8 +72,8 @@ nightly-rustfmt = (fenix.packages.${system}.toolchainOf { channel = "nightly"; - date = "2024-02-13"; - sha256 = "sha256-QeiJ8YNVpYhoxxOrrQKOwnfoYo4c8PTlcjEOn/NCmSI="; + date = "2024-03-26"; + sha256 = "sha256-kHuQWRjPWmulZWG7tka+rX+VjZOnP7pZ2xF2qxV8784="; # sha256 = pkgs.lib.fakeSha256; }) .rustfmt; @@ -364,16 +364,16 @@ packages.irust = rustPlatform.buildRustPackage rec { pname = "IRust"; - version = "1.71.2"; + version = "1.71.20"; src = pkgs.fetchFromGitHub { owner = "sigmaSd"; repo = pname; rev = "v${version}"; - sha256 = "sha256-6qxkz7Pf8XGORo6O4eIwTcqBt+8WBp2INY81YUCxJts="; + sha256 = "sha256-PokyKNHiZqOo1DXLQ2NAkuax4BXayNko9nQMighuh4Q="; }; doCheck = false; - cargoSha256 = "sha256-VZXxz3E8I/8T2H7KHa2IADjqsG2XHBNhwq/OBsq3vHs="; + cargoSha256 = "sha256-0CMrA6k4OEXM9MJ9Iyk0yMuulvhT2pXty4OIU5Z6a9U="; }; packages.default = diff --git a/homestar-runtime/Cargo.toml b/homestar-runtime/Cargo.toml index 1884eeeb..204e3f7a 100644 --- a/homestar-runtime/Cargo.toml +++ b/homestar-runtime/Cargo.toml @@ -52,8 +52,6 @@ console-subscriber = { version = "0.2", default-features = false, features = [ const_format = { workspace = true } crossbeam = "0.8" dagga = "0.2" -ed25519-compact = "2.1" -ed25519-dalek = { version = "2.1", features = ["pem"] } dashmap = "5.5" derive-getters = "0.3" derive_builder = "0.13" @@ -68,6 +66,8 @@ diesel-derive-enum = { version = "2.1", features = ["sqlite"] } diesel_migrations = "2.1" dotenvy = "0.15" dyn-clone = "1.0" +ed25519-compact = "2.1" +ed25519-dalek = { version = "2.1", features = ["pem"] } enum-assoc = { workspace = true } faststr = { workspace = true } flume = { version = "0.11", default-features = false, features = ["async"] }