Cargo Features

[dependencies]
archway-proto = { version = "0.1.0", default-features = false, features = ["grpc-transport", "grpc", "cosmwasm"] }
default = grpc-transport

The grpc-transport feature is set by default whenever archway-proto is added without default-features = false somewhere in the dependency tree.

grpc-transport default = grpc

Enables transport of tonic ^0.9.2 and grpc-transport of cosmos-sdk-proto ^0.18.0

cosmos-sdk-proto@0.18.0 is the latest version for the cosmos-sdk 0.45.x protos

grpc grpc-transport = tonic

Enables grpc of cosmos-sdk-proto ^0.18.0

Affects archway.rewards.v1::query_client, archway.rewards.v1::query_server, archway.rewards.v1::msg_client, archway.rewards.v1::msg_server, archway.tracking.v1::query_client, archway.tracking.v1::query_server

cosmwasm

Enables cosmwasm of cosmos-sdk-proto ^0.18.0

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.

tonic grpc? grpc-transport

Enables tonic ^0.9.2