Cargo Features

busrt has no features set by default.

busrt = { version = "0.4.7", features = ["full", "server", "broker", "ipc", "rpc", "cli", "openssl-vendored", "cursors", "std-alloc", "tracing", "sqlx", "futures"] }
full = broker, ipc, rpc
server = broker, chrono, clap, colored, fork, jemallocator, lazy_static, log, syslog

Required by the busrtd binary

broker full? server? = async-trait, ipnetwork, log, nix, parking_lot, submap, triggered, unix-named-pipe

Affects common::now_ns, busrt::broker, busrt::comm, busrt::tools.pubsub, busrt::client

ipc cli? full? = async-trait, log

Affects busrt::ipc, busrt::comm, busrt::tools.pubsub, busrt::client

rpc cli? cursors? full? = async-trait, log, parking_lot, regex, rmp-serde, serde, serde-value, tokio-task-pool

Affects common::str_to_params_map, busrt::rpc, busrt::tools.pubsub, busrt::client

cli = atty, bma-benchmark, clap, colored, env_logger, hex, hostname, ipc, jemallocator, num-format, prettytable-rs, rpc, serde_json

Required by the busrt binary


Enables openssl-vendored of submap

cursors = rpc, uuid

Affects busrt::cursors

tracing = console-subscriber

Enables tracing of tokio

Features from optional dependencies

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

log broker? ipc? rpc? server?
syslog server?

Enables syslog ^5.0.0

chrono server?

With default features

colored cli? server?
clap cli? server?

Enables derive and default features of clap ^3.0.7

submap broker?

With native-digest

lazy_static server?
jemallocator cli? server?

With default (background_threads_runtime_support)

fork server?
rmp-serde rpc?
serde rpc?

With derive and default (std)

async-trait broker? ipc? rpc?
unix-named-pipe broker?
serde_json cli?

With default (std)

bma-benchmark cli?
prettytable-rs cli?

With default features

env_logger cli?

Enables default features of env_logger ^0.9.0

hostname cli?
hex cli?

With default (std)

num-format cli?

With default (std)

serde-value rpc?
atty cli?
nix broker?

Enables default features of nix ^0.25.0

ipnetwork broker?

With default (serde)

triggered broker?
parking_lot broker? rpc?
console-subscriber tracing?

Enables default (env-filter) of console-subscriber ^0.1.7

uuid cursors?

With serde, v4 and default (std)

sqlx implicit feature

Enables postgres, runtime-tokio-rustls and default features of sqlx ^0.6.2

futures implicit feature

With default features

regex rpc?

With default features

tokio-task-pool rpc?