Skip to content

Commit

Permalink
fix(macros): set context crate features
Browse files Browse the repository at this point in the history
  • Loading branch information
Serial-ATA committed Jan 23, 2025
1 parent e9dbc73 commit 713667f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 8 additions & 1 deletion crates/macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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
3 changes: 3 additions & 0 deletions crates/sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ std = [
web = [
# Tangle
"tangle-subxt?/web",
# Macros
"gadget-macros?/web",
]

macros = [
Expand Down Expand Up @@ -101,6 +103,7 @@ eigenlayer = [
"gadget-runners/eigenlayer",
"gadget-testing-utils?/eigenlayer",
"gadget-utils/eigenlayer",
"gadget-macros?/eigenlayer",
"alloy",
"alloy-json-abi",
"eigensdk",
Expand Down

0 comments on commit 713667f

Please sign in to comment.