Cargo Features

[dependencies]
linera-alloy-provider = { version = "0.1.0", default-features = false, features = ["pubsub", "reqwest", "hyper", "ws", "ipc", "reqwest-default-tls", "reqwest-rustls-tls", "reqwest-native-tls", "anvil", "engine-api"] }
default = reqwest, reqwest-default-tls

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

pubsub ipc? ws?

Enables linera-alloy-pubsub, pubsub of linera-alloy-rpc-client

Affects trait::Provider.subscribe_blocks, trait::Provider.subscribe_pending_transactions, trait::Provider.subscribe_full_pending_transactions, trait::Provider.subscribe_logs, trait::Provider.subscribe, trait::Provider.unsubscribe

reqwest default anvil?

Enables linera-alloy-transport-http, reqwest, and url, reqwest of linera-alloy-rpc-client

hyper

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

Affects linera-alloy-provider::HyperProvider

ws = linera-alloy-transport-ws, pubsub

Enables ws of linera-alloy-rpc-client

ipc = linera-alloy-transport-ipc, pubsub

Enables ipc of linera-alloy-rpc-client

reqwest-default-tls default

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

reqwest-rustls-tls

Enables reqwest-rustls-tls of optional linera-alloy-transport-http

reqwest-native-tls

Enables reqwest-native-tls of optional linera-alloy-transport-http

anvil = reqwest

Enables linera-alloy-node-bindings and linera-alloy-signer-wallet

engine-api

Enables linera-alloy-rpc-types-engine

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-transport-ipc ipc?
linera-alloy-transport-ws ws?