Cargo Features

[dependencies]
revaultd = { version = "0.4.0", default-features = false, features = ["jsonrpc_server"] }
default = jsonrpc_server

The jsonrpc_server feature is set by default whenever revaultd is added without default-features = false somewhere in the dependency tree.

jsonrpc_server default = jsonrpc-core, jsonrpc-derive, mio

Required by revault-cli and revaultd binaries

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

jsonrpc-core jsonrpc_server

Enables jsonrpc-core ^15.1

For the JSONRPC server

jsonrpc-derive jsonrpc_server

Enables jsonrpc-derive ^15.1

mio jsonrpc_server

Enables mio ^0.7