From 713667f13e60719e19b6036cba2319dafbb8dd11 Mon Sep 17 00:00:00 2001 From: Serial <69764315+Serial-ATA@users.noreply.github.com> Date: Thu, 23 Jan 2025 16:40:28 -0500 Subject: [PATCH] fix(macros): set context crate features --- crates/macros/Cargo.toml | 9 ++++++++- crates/sdk/Cargo.toml | 3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/crates/macros/Cargo.toml b/crates/macros/Cargo.toml index 7f40d907a..daf210d2f 100644 --- a/crates/macros/Cargo.toml +++ b/crates/macros/Cargo.toml @@ -45,6 +45,7 @@ std = [ "gadget-blueprint-serde?/std", "gadget-clients?/std", "gadget-context-derive/std", + "gadget-contexts/std", "gadget-crypto?/std", "gadget-event-listeners?/std", "gadget-logging?/std", @@ -68,6 +69,7 @@ tangle = [ "dep:tokio", "gadget-clients?/tangle", "gadget-context-derive/tangle", + "gadget-contexts/tangle", "gadget-crypto/tangle-pair-signer", "gadget-keystore/tangle", "gadget-event-listeners/tangle", @@ -84,11 +86,16 @@ evm = [ "dep:tokio", "gadget-clients?/evm", "gadget-context-derive/evm", + "gadget-contexts/evm", "gadget-event-listeners/evm", "gadget-blueprint-proc-macro/evm", ] -networking = ["gadget-context-derive/networking"] +eigenlayer = [ + "gadget-contexts/eigenlayer", +] + +networking = ["gadget-context-derive/networking", "gadget-contexts/networking"] [lints] workspace = true diff --git a/crates/sdk/Cargo.toml b/crates/sdk/Cargo.toml index 7af9e1fa1..8a95c85ce 100644 --- a/crates/sdk/Cargo.toml +++ b/crates/sdk/Cargo.toml @@ -72,6 +72,8 @@ std = [ web = [ # Tangle "tangle-subxt?/web", + # Macros + "gadget-macros?/web", ] macros = [ @@ -101,6 +103,7 @@ eigenlayer = [ "gadget-runners/eigenlayer", "gadget-testing-utils?/eigenlayer", "gadget-utils/eigenlayer", + "gadget-macros?/eigenlayer", "alloy", "alloy-json-abi", "eigensdk",