Cargo Features

[dependencies]
rgb_node = { version = "0.9.2", default-features = false, features = ["server", "embedded"] }
default = server

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

server default = clap, configure_me, shellexpand

Server is a standalone application that runs daemons.
Required for all apps that can be launched from command-line shell as binaries (i.e. both servers and cli)

Enables cli and server of microservices and parse_arg of amplify ^3.13.0

LNP/BP crates

Affects rgb_node::opts

Required by bucketd and rgbd binaries

embedded

Embedded is an app that contains embedded node and that talks to it through integration layer

Enables embedded of microservices

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.

clap server

Enables clap ~3.2.23

configure_me server
shellexpand server

Enables shellexpand ^2.1