Cargo Features

cosmrs = { version = "0.16.0", default-features = false, features = ["cosmwasm", "dev", "getrandom", "grpc", "grpc-core", "rpc", "bip32"] }
default = bip32, getrandom

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


Enables cosmwasm of cosmos-sdk-proto

Affects cosmrs::cosmwasm

dev = rpc, tokio

Affects cosmrs::dev

getrandom default

Enables getrandom of rand_core

grpc = grpc-core

Enables grpc-transport of cosmos-sdk-proto

grpc-core grpc?

Enables grpc of cosmos-sdk-proto

rpc dev? = tendermint-rpc

Affects raw::TxCommitResponse

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.

bip32 default

Enables bip32

optional dependencies

tendermint-rpc rpc?

Enables tendermint-rpc ^0.35

tokio dev?