Cargo Features

[dependencies]
revoke-registry = { version = "0.3.0", default-features = false, features = ["full", "memory", "consul", "tokio-stream"] }
default = memory

The memory feature is set by default whenever revoke-registry is added without default-features = false somewhere in the dependency tree.

full = consul, memory
memory default full?

Affects revoke-registry::memory

consul full? = dashmap, reqwest

Affects revoke-registry::consul

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.

reqwest consul?

Enables reqwest ^0.11

dashmap consul?

Enables dashmap ^5.5

tokio-stream implicit feature

Enables tokio-stream

tokio-stream:

Utilities to work with Stream and tokio