Cargo Features

[dependencies]
nym-validator-client = { version = "1.20.4", default-features = false, features = ["http-client", "generate-ts", "contract-testing", "tendermint-rpc-http-client", "tendermint-rpc-websocket-client"] }
default = http-client

The http-client feature is set by default whenever nym-validator-client is added without default-features = false somewhere in the dependency tree.

http-client default

Enables rpc of cosmrs

Affects nym-validator-client::connection_tester, nym-validator-client::QueryHttpRpcValidatorClient, nym-validator-client::QueryHttpRpcNyxdClient, nym-validator-client::DirectSigningHttpRpcValidatorClient, nym-validator-client::DirectSigningHttpRpcNyxdClient, rpc::http_client

generate-ts
contract-testing

Enables contract-testing of nym-mixnet-contract-common

Affects mixnet_signing_client::MixnetSigningClient.testing_resolve_all_pending_events

tendermint-rpc-http-client

Features below are added to make clippy happy, it seems like they're unused we should remove them

Enables http-client of tendermint-rpc

note that this has the same version as used by cosmrs

import it just for the Client trait

Affects rpc::TendermintRpcClient.wait_until_healthy

tendermint-rpc-websocket-client

Enables websocket-client of tendermint-rpc

Affects rpc::TendermintRpcClient.wait_until_healthy