Cargo Features

[dependencies]
flare-rpc-core = { version = "0.1.1", default-features = false, features = ["full", "client", "server", "consul", "etcd"] }
default = client, consul, server

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

full = client, consul, etcd, server
client default full? = tower

Enables transport of tonic

Affects ctxinterceprot::AppContextConfig, ctxinterceprot::AppContextLayer, ctxinterceprot::AppContextInterceptor, ctxinterceprot::build_req_metadata_form_ctx, flare-rpc-core::client

server default full? = tonic, tower

Affects ctxinterceprot::build_context_from_metadata, flare-rpc-core::app

consul default full? = reqwest

Affects discover::consul

etcd full? = etcd-client

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 client server
tower client server
reqwest consul

Enables reqwest

Optional dependencies

etcd-client etcd?