Cargo Features

[dependencies]
blueprint-sdk = { version = "0.1.0-alpha.6", default-features = false, features = ["std", "web", "tracing", "tangle", "evm", "eigenlayer", "networking", "round-based-compat", "local-store", "macros", "build", "testing", "cronjob"] }
default = std, tracing

These default features are set whenever blueprint-sdk is added without default-features = false somewhere in the dependency tree.

std default testing?

### Core

Enable standard library support

Enables std of tangle-subxt and optional blueprint-tangle-extra

blueprint-tangle-extra:

Tangle-specific extras

and std of blueprint-core, blueprint-crypto, and optional blueprint-eigenlayer-extra

blueprint-core:

Required dependencies

and std of blueprint-keystore, blueprint-runner, and optional blueprint-evm-extra

blueprint-evm-extra:

Eigenlayer and EVM-specific extras

and std of blueprint-chain-setup, blueprint-clients, blueprint-contexts, and optional blueprint-context-derive

blueprint-contexts:

The keystore context is the only one that doesn't bring in extra dependencies, so we can always include it

web

Enable support for web targets

Enables web of tangle-subxt

tracing default

Enable tracing support

Enables tracing of blueprint-core, blueprint-producers-extra, blueprint-router, and optional blueprint-tangle-extra

tangle

! ### Protocol Support

Enable Tangle support

Enables blueprint-crypto-tangle-pair-signer, blueprint-tangle-extra, tangle-subxt, tangle of blueprint-runner, tangle of blueprint-clients, blueprint-contexts, optional blueprint-chain-setup, and optional blueprint-context-derive and tangle of optional blueprint-testing-utils

Optional dependencies for testing

evm eigenlayer?

Enable EVM support

Enables blueprint-evm-extra, alloy ^0.12 and alloy-json-abi ^0.8, anvil of optional blueprint-chain-setup, anvil of optional blueprint-testing-utils, evm of blueprint-clients, blueprint-contexts, optional blueprint-context-derive, and optional blueprint-crypto-tangle-pair-signer and evm of optional blueprint-macros

Macros

Affects error::AlloyError

eigenlayer = blueprint-eigenlayer-extra, evm

Enable Eigenlayer support

Enables eigensdk, eigenlayer of blueprint-clients, blueprint-contexts, and optional blueprint-testing-utils

Affects error::AlloyError

networking

! ### Networking Support

Enable networking support

Enables std of blueprint-keystore, networking of blueprint-runner, networking of blueprint-contexts and optional blueprint-context-derive and blueprint-networking

Networking-related dependencies

Affects blueprint-sdk::networking

round-based-compat

Enable round-based networking capability

Enables blueprint-networking-round-based-extension

Round-based protocol support

local-store

! ### Utilities

Enable local KV stores

Enables local of blueprint-stores

K, V Stores

macros build?

Enable all macros of subcrates

Enables blueprint-context-derive and blueprint-macros, macros of optional blueprint-tangle-extra

Affects blueprint-sdk::macros

build = macros

Enable build-time utilities

Enables blueprint-build-utils

Optional dependencies for build

Affects blueprint-sdk::build

testing = std

Enable testing utilities

Enables blueprint-chain-setup, blueprint-testing-utils, and tempfile

Affects blueprint-sdk::testing

cronjob

Extra producers

Enable the cron job producer

Enables cron of blueprint-producers-extra

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

blueprint-eigenlayer-extra eigenlayer?
blueprint-stores local-store?