From 1f1a4e7fad5931590083e583f7973f83b96223a3 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Mon, 4 Nov 2024 09:07:35 +0700 Subject: [PATCH] feat(rust): add flutter_rust_bridge tool Signed-off-by: bkioshn --- earthly/rust/Earthfile | 1 + earthly/rust/tools/Earthfile | 3 +++ 2 files changed, 4 insertions(+) diff --git a/earthly/rust/Earthfile b/earthly/rust/Earthfile index 3ce1775e8..90383ae83 100644 --- a/earthly/rust/Earthfile +++ b/earthly/rust/Earthfile @@ -133,6 +133,7 @@ rust-base-plus-tools: DO +COPY_TOOL --tool="cargo-sweep" DO +COPY_TOOL --tool="cargo-component" DO +COPY_TOOL --tool="wasm-pack" + DO +COPY_TOOL --tool="flutter-rust-bridge" # installer - fully setup our Rust caching. installer: diff --git a/earthly/rust/tools/Earthfile b/earthly/rust/tools/Earthfile index 0d072a3f4..477bf56f8 100644 --- a/earthly/rust/tools/Earthfile +++ b/earthly/rust/tools/Earthfile @@ -82,3 +82,6 @@ tool-cargo-component: tool-wasm-pack: DO +CARGO_BINSTALL --package=wasm-pack --version=0.13.0 + +tool-flutter-rust-bridge: + DO +CARGO_BINSTALL --package=flutter_rust_bridge --version=2.5.1