Cargo Features

[dependencies]
linera-alloy = { version = "0.1.0", default-features = false, features = ["std", "reqwest", "hyper", "consensus", "contract", "eips", "genesis", "network", "node-bindings", "providers", "provider-http", "provider-ws", "provider-ipc", "pubsub", "rpc", "json-rpc", "rpc-client", "rpc-client-ws", "rpc-client-ipc", "rpc-types", "rpc-types-eth", "rpc-types-beacon", "rpc-types-engine", "rpc-types-json", "rpc-types-trace", "signers", "signer-aws", "signer-gcp", "signer-ledger", "signer-ledger-browser", "signer-ledger-node", "signer-trezor", "signer-wallet", "signer-keystore", "signer-mnemonic", "signer-mnemonic-all-languages", "signer-yubihsm", "transports", "transport-http", "transport-ipc", "transport-ipc-mock", "transport-ws", "dyn-abi", "json-abi", "json", "sol-types", "tiny-keccak", "native-keccak", "asm-keccak", "postgres", "getrandom", "rand", "rlp", "serde", "ssz", "k256", "kzg", "eip712", "arbitrary"] }

----------------------------------------- Configuration ----------------------------------------

default = reqwest, std

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

std default

Enables std of optional linera-alloy-consensus

alloy

and std of optional linera-alloy-serde

serde

and std of linera-alloy-core, optional linera-alloy-eips, and optional linera-alloy-genesis

linera-alloy-core:

core

reqwest default

configuration

Enables reqwest and reqwest-default-tls of optional linera-alloy-transport-http and reqwest

optional

and reqwest of optional linera-alloy-provider and optional linera-alloy-rpc-client

linera-alloy-provider:

providers

hyper

Enables hyper, hyper of optional linera-alloy-provider, optional linera-alloy-rpc-client, and optional linera-alloy-transport-http

consensus

---------------------------------------- Main re-exports ---------------------------------------

general

Enables linera-alloy-consensus

contract = dyn-abi, json, json-abi, sol-types

Enables linera-alloy-contract

eips

Enables linera-alloy-eips

genesis

Enables linera-alloy-genesis

network

Enables linera-alloy-network

node-bindings

Enables linera-alloy-node-bindings, anvil of optional linera-alloy-provider

providers provider-http? provider-ipc? provider-ws?

Enables linera-alloy-provider

Affects linera-alloy::providers

provider-http = providers, transport-http
provider-ws = providers, transport-ws

Enables ws of optional linera-alloy-provider

provider-ipc = providers, transport-ipc

Enables ipc of optional linera-alloy-provider

pubsub transport-ipc? transport-ws?

Enables linera-alloy-pubsub, pubsub of optional linera-alloy-rpc-client, pubsub of optional linera-alloy-contract and optional linera-alloy-provider

Affects linera-alloy::pubsub

rpc json-rpc? rpc-client? rpc-client-ipc? rpc-client-ws? rpc-types?

Affects linera-alloy::rpc

json-rpc = rpc

Enables linera-alloy-json-rpc

rpc

rpc-client = rpc

Enables linera-alloy-rpc-client

rpc-client-ws = rpc

Enables ws of optional linera-alloy-rpc-client

rpc-client-ipc = rpc

Enables ipc of optional linera-alloy-rpc-client

rpc-types rpc-types-beacon? rpc-types-engine? rpc-types-eth? rpc-types-trace? = rpc

Affects linera-alloy::rpc.types

rpc-types-eth = rpc-types

Enables linera-alloy-rpc-types

rpc-types-beacon = rpc-types

Enables linera-alloy-rpc-types-beacon

rpc-types-engine = rpc-types

Enables linera-alloy-rpc-types-engine

rpc-types-json

Enables jsonrpsee-types of optional linera-alloy-rpc-types and optional linera-alloy-rpc-types-engine

rpc-types-trace = rpc-types

Enables linera-alloy-rpc-types-trace

signers signer-aws? signer-gcp? signer-ledger? signer-trezor? signer-wallet?

Enables linera-alloy-signer

signer

Affects linera-alloy::signers

signer-aws = signers

Enables linera-alloy-signer-aws

signer-gcp = signers

Enables linera-alloy-signer-gcp

signer-ledger signer-ledger-browser? signer-ledger-node? = signers

Enables linera-alloy-signer-ledger

signer-ledger-browser = signer-ledger

Enables browser of optional linera-alloy-signer-ledger

linera-alloy-signer-ledger:

WASM support

signer-ledger-node = signer-ledger

Enables node of optional linera-alloy-signer-ledger

signer-trezor = signers

Enables linera-alloy-signer-trezor

signer-wallet signer-keystore? signer-mnemonic? signer-yubihsm? = signers

Enables linera-alloy-signer-wallet

signer-keystore = signer-wallet

Enables keystore of optional linera-alloy-signer-wallet

signer-mnemonic signer-mnemonic-all-languages? = signer-wallet

Enables mnemonic of optional linera-alloy-signer-wallet

signer-mnemonic-all-languages = signer-mnemonic

Enables mnemonic-all-languages of optional linera-alloy-signer-wallet

signer-yubihsm = signer-wallet

Enables yubihsm of optional linera-alloy-signer-wallet

transports transport-http? transport-ipc? transport-ws?

Enables linera-alloy-transport

transport

Affects linera-alloy::transports

transport-http provider-http? = transports

Enables linera-alloy-transport-http

transport-ipc provider-ipc? = pubsub, transports

Enables linera-alloy-transport-ipc

transport-ipc-mock

Enables mock of optional linera-alloy-transport-ipc

transport-ws provider-ws? = pubsub, transports

Enables linera-alloy-transport-ws

dyn-abi contract?

---------------------------------------- Core re-exports ---------------------------------------

Enables dyn-abi of linera-alloy-core

json-abi contract?

Enables json-abi of linera-alloy-core

json contract?

Enables json of linera-alloy-core

sol-types contract?

Enables sol-types of linera-alloy-core

tiny-keccak

Enables tiny-keccak of linera-alloy-core

native-keccak

Enables native-keccak of linera-alloy-core

asm-keccak

Enables asm-keccak of linera-alloy-core

postgres

Enables postgres of linera-alloy-core

getrandom

Enables getrandom of linera-alloy-core

rand

Enables rand of linera-alloy-core

rlp

Enables rlp of linera-alloy-core

serde = linera-alloy-serde

Enables serde of linera-alloy-core and optional linera-alloy-eips

ssz

Enables ssz of linera-alloy-core, optional linera-alloy-rpc-types, and optional linera-alloy-rpc-types-engine

k256

Enables k256 of optional linera-alloy-consensus, linera-alloy-core, and optional linera-alloy-network

kzg

Enables kzg of optional linera-alloy-consensus

eip712

Enables eip712 of linera-alloy-core, optional linera-alloy-signer, optional linera-alloy-signer-aws, optional linera-alloy-signer-gcp, and optional linera-alloy-signer-ledger

arbitrary

Enables arbitrary of optional linera-alloy-consensus, linera-alloy-core, optional linera-alloy-eips, and optional linera-alloy-rpc-types

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.

linera-alloy-serde serde?