Cargo Features

drmemd has no features set by default.

[dependencies]
drmemd = { version = "0.4.1", features = ["simple-backend", "redis-backend", "no-client", "graphql", "graphiql", "driver-ntp", "driver-sump", "driver-tplink", "driver-weather-wu", "all-drivers"] }

These are features that can be enabled for drmem.

simple-backend

Backends

Affects backends::simple

redis-backend = redis

Affects backends::redis

no-client

Client APIs

graphql graphiql? = juniper, juniper_graphql_ws, juniper_warp, libmdns, warp

Affects config::Config.graphql

graphiql = graphql
driver-ntp all-drivers? = drmem-drv-ntp

Drivers

driver-sump all-drivers? = drmem-drv-sump
driver-weather-wu all-drivers? = drmem-drv-weather-wu
all-drivers = driver-ntp, driver-sump, driver-tplink, driver-weather-wu

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.

drmem-drv-ntp driver-ntp?
drmem-drv-sump driver-sump?
drmem-drv-weather-wu driver-weather-wu?
juniper graphql?
juniper_graphql_ws graphql?
juniper_warp graphql?
libmdns graphql?

Enables libmdns ^0.8

redis redis-backend?

Enables redis ^0.25

warp graphql?